home *** CD-ROM | disk | FTP | other *** search
/ Hyper Stacks 1994 May / Hyper Stacks (Pacific HiTech)(1994)[Mac].iso / HyperBooks / The AEneid 1.0 / The Aeneid 1.0 < prev   
MacBinary  |  1994-03-29  |  943.3 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: The Aeneid 1.0

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert PCP archive log (other/pcpArchiveLog) ext Unsupported
100% file MacBinary II, inited, Fri Jan 3 21:36:40 1992, modified Tue Mar 29 07:10:15 1994, creator HyperCard, type HyperCard stack, 935424 bytes "The Aeneid 1.0" , at 0xe4680 30289 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 54 68 65 20 41 65 | 6e 65 69 64 20 31 2e 30 |..The Ae|neid 1.0|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 0e 46 00 00 | 00 76 51 a5 8a ce 38 a9 |.....F..|.vQ...8.|
|00000060| bd cb 27 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..'.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 19 ac 00 00 |........|........|
|00000080| 00 00 72 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..r.STAK|........|
|00000090| 00 00 00 0a 00 0e 46 00 | 00 00 72 00 00 00 00 00 |......F.|..r.....|
|000000a0| 00 00 00 08 00 00 00 04 | 00 00 2f fd 00 00 03 73 |........|../....s|
|000000b0| 00 00 0a 44 00 00 16 7f | 00 00 00 00 00 00 00 00 |...D....|........|
|000000c0| 00 00 2c 6b 00 00 00 00 | 00 05 00 00 10 00 00 00 |..,k....|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 01 25 80 00 02 10 80 00 | 02 10 80 00 02 10 80 01 |.%......|........|
|000000f0| eb 6f 4b 51 00 00 00 02 | 00 9c 00 10 01 dc 02 10 |.oKQ....|........|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 43 80 00 00 0b 4e | 01 40 02 00 00 00 00 00 |..C....N|.@......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 38 7c fe fe fe 7c 38 00 | be 80 88 08 eb 08 88 80 |8|...|8.|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 6f 6e 20 73 74 61 72 74 | 75 70 0d 68 69 64 65 20 |on start|up.hide |
|00000690| 77 69 6e 64 6f 77 20 22 | 53 63 72 6f 6c 6c 22 0d |window "|Scroll".|
|000006a0| 69 66 20 69 74 65 6d 20 | 34 20 6f 66 20 74 68 65 |if item |4 of the|
|000006b0| 20 73 63 72 65 65 6e 52 | 65 63 74 20 3c 20 33 34 | screenR|ect < 34|
|000006c0| 33 20 74 68 65 6e 0d 70 | 75 74 20 74 68 65 20 72 |3 then.p|ut the r|
|000006d0| 65 63 74 20 6f 66 20 63 | 61 72 64 20 77 69 6e 64 |ect of c|ard wind|
|000006e0| 6f 77 20 69 6e 74 6f 20 | 74 68 65 52 65 63 74 0d |ow into |theRect.|
|000006f0| 70 75 74 20 32 32 20 69 | 6e 74 6f 20 69 74 65 6d |put 22 i|nto item|
|00000700| 20 32 20 6f 66 20 74 68 | 65 52 65 63 74 0d 70 75 | 2 of th|eRect.pu|
|00000710| 74 20 33 34 32 20 69 6e | 74 6f 20 69 74 65 6d 20 |t 342 in|to item |
|00000720| 34 20 6f 66 20 74 68 65 | 52 65 63 74 0d 73 65 74 |4 of the|Rect.set|
|00000730| 20 74 68 65 20 72 65 63 | 74 20 6f 66 20 63 61 72 | the rec|t of car|
|00000740| 64 20 77 69 6e 64 6f 77 | 20 74 6f 20 74 68 65 52 |d window| to theR|
|00000750| 65 63 74 0d 65 6e 64 20 | 69 66 0d 70 61 73 73 20 |ect.end |if.pass |
|00000760| 73 74 61 72 74 75 70 0d | 65 6e 64 20 73 74 61 72 |startup.|end star|
|00000770| 74 75 70 0d 0d 6f 6e 20 | 6f 70 65 6e 53 74 61 63 |tup..on |openStac|
|00000780| 6b 0d 73 65 74 20 74 68 | 65 20 63 75 72 73 6f 72 |k.set th|e cursor|
|00000790| 20 74 6f 20 77 61 74 63 | 68 0d 68 69 64 65 20 77 | to watc|h.hide w|
|000007a0| 69 6e 64 6f 77 20 22 73 | 63 72 6f 6c 6c 22 0d 0d |indow "s|croll"..|
|000007b0| 69 66 20 74 68 65 20 63 | 61 6e 74 6d 6f 64 69 66 |if the c|antmodif|
|000007c0| 79 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |y of thi|s stack |
|000007d0| 69 73 20 66 61 6c 73 65 | 20 74 68 65 6e 0d 69 66 |is false| then.if|
|000007e0| 20 74 68 65 72 65 20 69 | 73 20 61 20 73 74 61 63 | there i|s a stac|
|000007f0| 6b 20 22 61 75 74 6f 66 | 6c 6f 77 22 20 74 68 65 |k "autof|low" the|
|00000800| 6e 20 73 74 61 72 74 20 | 75 73 69 6e 67 20 73 74 |n start |using st|
|00000810| 61 63 6b 20 22 61 75 74 | 6f 66 6c 6f 77 22 0d 65 |ack "aut|oflow".e|
|00000820| 6e 64 20 69 66 0d 0d 69 | 66 20 6e 6f 74 20 53 61 |nd if..i|f not Sa|
|00000830| 6d 65 52 6f 6f 74 44 69 | 73 6b 28 29 20 74 68 65 |meRootDi|sk() the|
|00000840| 6e 0d 53 68 6f 77 4e 6f | 74 65 73 20 74 72 75 65 |n.ShowNo|tes true|
|00000850| 0d 67 6c 6f 62 61 6c 20 | 67 4c 61 73 74 43 68 61 |.global |gLastCha|
|00000860| 70 74 65 72 4e 61 6d 65 | 2c 67 4c 61 73 74 50 61 |pterName|,gLastPa|
|00000870| 67 65 4e 75 6d 62 65 72 | 0d 70 75 74 20 74 68 65 |geNumber|.put the|
|00000880| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 66 | short n|ame of f|
|00000890| 69 72 73 74 20 63 61 72 | 64 20 6f 66 20 62 67 20 |irst car|d of bg |
|000008a0| 22 74 65 78 74 22 20 69 | 6e 74 6f 20 67 4c 61 73 |"text" i|nto gLas|
|000008b0| 74 43 68 61 70 74 65 72 | 4e 61 6d 65 0d 70 75 74 |tChapter|Name.put|
|000008c0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 66 | the num|ber of f|
|000008d0| 69 72 73 74 20 63 61 72 | 64 20 6f 66 20 62 67 20 |irst car|d of bg |
|000008e0| 22 74 65 78 74 22 20 69 | 6e 74 6f 20 67 4c 61 73 |"text" i|nto gLas|
|000008f0| 74 50 61 67 65 4e 75 6d | 62 65 72 0d 53 68 6f 77 |tPageNum|ber.Show|
|00000900| 4c 61 73 74 43 68 61 70 | 74 65 72 0d 65 6c 73 65 |LastChap|ter.else|
|00000910| 20 53 68 6f 77 4e 6f 74 | 65 73 20 53 68 6f 77 69 | ShowNot|es Showi|
|00000920| 6e 67 4e 6f 74 65 73 28 | 29 0d 0d 53 65 74 55 70 |ngNotes(|)..SetUp|
|00000930| 4d 65 6e 75 73 0d 70 61 | 73 73 20 6f 70 65 6e 73 |Menus.pa|ss opens|
|00000940| 74 61 63 6b 0d 65 6e 64 | 20 6f 70 65 6e 53 74 61 |tack.end| openSta|
|00000950| 63 6b 0d 0d 6f 6e 20 63 | 6c 6f 73 65 53 74 61 63 |ck..on c|loseStac|
|00000960| 6b 0d 70 75 74 20 53 74 | 61 63 6b 4c 6f 63 6b 65 |k.put St|ackLocke|
|00000970| 64 28 29 20 69 6e 74 6f | 20 6c 6f 63 6b 65 64 42 |d() into| lockedB|
|00000980| 65 66 6f 72 65 0d 55 6e | 6c 6f 63 6b 53 74 61 63 |efore.Un|lockStac|
|00000990| 6b 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |k.repeat| with i |
|000009a0| 3d 20 31 20 74 6f 20 74 | 68 65 20 6e 75 6d 62 65 |= 1 to t|he numbe|
|000009b0| 72 20 6f 66 20 62 67 73 | 0d 73 65 74 20 74 68 65 |r of bgs|.set the|
|000009c0| 20 63 75 72 73 6f 72 20 | 74 6f 20 77 61 74 63 68 | cursor |to watch|
|000009d0| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 62 |.if ther|e is a b|
|000009e0| 67 20 62 74 6e 20 22 68 | 65 6c 70 20 6f 66 66 22 |g btn "h|elp off"|
|000009f0| 20 6f 66 20 63 64 20 31 | 20 6f 66 20 62 67 20 69 | of cd 1| of bg i|
|00000a00| 0d 74 68 65 6e 20 73 65 | 74 20 74 68 65 20 69 63 |.then se|t the ic|
|00000a10| 6f 6e 20 6f 66 20 62 67 | 20 62 74 6e 20 22 68 65 |on of bg| btn "he|
|00000a20| 6c 70 20 6f 66 66 22 20 | 6f 66 20 63 64 20 31 20 |lp off" |of cd 1 |
|00000a30| 6f 66 20 62 67 20 69 20 | 74 6f 20 31 32 33 37 38 |of bg i |to 12378|
|00000a40| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 53 68 6f 77 |.end rep|eat.Show|
|00000a50| 4c 61 73 74 43 68 61 70 | 74 65 72 0d 69 66 20 74 |LastChap|ter.if t|
|00000a60| 68 65 20 66 72 65 65 53 | 69 7a 65 20 6f 66 20 74 |he freeS|ize of t|
|00000a70| 68 69 73 20 73 74 61 63 | 6b 20 3e 20 35 30 30 30 |his stac|k > 5000|
|00000a80| 30 20 74 68 65 6e 0d 73 | 65 6e 64 20 22 64 6f 4d |0 then.s|end "doM|
|00000a90| 65 6e 75 20 63 6f 6d 70 | 61 63 74 20 73 74 61 63 |enu comp|act stac|
|00000aa0| 6b 22 20 74 6f 20 48 79 | 70 65 72 43 61 72 64 0d |k" to Hy|perCard.|
|00000ab0| 65 6e 64 20 69 66 0d 69 | 66 20 6c 6f 63 6b 65 64 |end if.i|f locked|
|00000ac0| 42 65 66 6f 72 65 20 74 | 68 65 6e 20 4c 6f 63 6b |Before t|hen Lock|
|00000ad0| 53 74 61 63 6b 0d 0d 52 | 65 6d 6f 76 65 4d 65 6e |Stack..R|emoveMen|
|00000ae0| 75 73 0d 70 61 73 73 20 | 63 6c 6f 73 65 53 74 61 |us.pass |closeSta|
|00000af0| 63 6b 0d 65 6e 64 20 63 | 6c 6f 73 65 53 74 61 63 |ck.end c|loseStac|
|00000b00| 6b 0d 0d 6f 6e 20 6f 70 | 65 6e 43 61 72 64 0d 53 |k..on op|enCard.S|
|00000b10| 68 6f 77 42 6f 6f 6b 4d | 61 72 6b 0d 70 61 73 73 |howBookM|ark.pass|
|00000b20| 20 6f 70 65 6e 43 61 72 | 64 0d 65 6e 64 20 6f 70 | openCar|d.end op|
|00000b30| 65 6e 43 61 72 64 0d 0d | 6f 6e 20 6f 70 65 6e 42 |enCard..|on openB|
|00000b40| 61 63 6b 67 72 6f 75 6e | 64 0d 53 68 6f 77 4e 6f |ackgroun|d.ShowNo|
|00000b50| 74 65 73 20 53 68 6f 77 | 69 6e 67 4e 6f 74 65 73 |tes Show|ingNotes|
|00000b60| 28 29 0d 70 61 73 73 20 | 6f 70 65 6e 42 61 63 6b |().pass |openBack|
|00000b70| 67 72 6f 75 6e 64 0d 65 | 6e 64 20 6f 70 65 6e 42 |ground.e|nd openB|
|00000b80| 61 63 6b 67 72 6f 75 6e | 64 0d 0d 6f 6e 20 63 6c |ackgroun|d..on cl|
|00000b90| 6f 73 65 42 61 63 6b 67 | 72 6f 75 6e 64 0d 54 75 |oseBackg|round.Tu|
|00000ba0| 72 6e 4f 66 66 42 75 74 | 74 6f 6e 48 65 6c 70 0d |rnOffBut|tonHelp.|
|00000bb0| 70 61 73 73 20 63 6c 6f | 73 65 42 61 63 6b 67 72 |pass clo|seBackgr|
|00000bc0| 6f 75 6e 64 0d 65 6e 64 | 20 63 6c 6f 73 65 42 61 |ound.end| closeBa|
|00000bd0| 63 6b 67 72 6f 75 6e 64 | 0d 0d 6f 6e 20 6b 65 79 |ckground|..on key|
|00000be0| 44 6f 77 6e 20 74 68 65 | 4b 65 79 0d 69 66 20 74 |Down the|Key.if t|
|00000bf0| 68 65 4b 65 79 20 69 73 | 20 73 70 61 63 65 20 6f |heKey is| space o|
|00000c00| 72 20 63 68 61 72 74 6f | 6e 75 6d 28 74 68 65 4b |r charto|num(theK|
|00000c10| 65 79 29 20 69 73 20 32 | 30 32 20 74 68 65 6e 0d |ey) is 2|02 then.|
|00000c20| 67 65 74 20 74 68 65 20 | 73 68 69 66 74 4b 65 79 |get the |shiftKey|
|00000c30| 20 69 73 20 75 70 20 61 | 6e 64 20 74 68 65 20 6f | is up a|nd the o|
|00000c40| 70 74 69 6f 6e 4b 65 79 | 20 69 73 20 75 70 0d 69 |ptionKey| is up.i|
|00000c50| 66 20 74 68 65 20 73 65 | 6c 65 63 74 65 64 46 69 |f the se|lectedFi|
|00000c60| 65 6c 64 20 69 73 20 65 | 6d 70 74 79 20 61 6e 64 |eld is e|mpty and|
|00000c70| 20 c2 0d 6e 6f 74 20 74 | 68 65 20 76 69 73 69 62 | ..not t|he visib|
|00000c80| 6c 65 20 6f 66 20 74 68 | 65 20 6d 73 67 20 61 6e |le of th|e msg an|
|00000c90| 64 c2 0d 74 68 65 20 62 | 6c 69 6e 64 54 79 70 69 |d..the b|lindTypi|
|00000ca0| 6e 67 20 69 73 20 66 61 | 6c 73 65 20 74 68 65 6e |ng is fa|lse then|
|00000cb0| 0d 69 66 20 69 74 20 74 | 68 65 6e 0d 63 6c 69 63 |.if it t|hen.clic|
|00000cc0| 6b 20 61 74 20 74 68 65 | 20 6c 6f 63 20 6f 66 20 |k at the| loc of |
|00000cd0| 62 67 20 62 74 6e 20 22 | 6e 65 78 74 20 70 61 67 |bg btn "|next pag|
|00000ce0| 65 22 0d 65 6c 73 65 20 | 63 6c 69 63 6b 20 61 74 |e".else |click at|
|00000cf0| 20 74 68 65 20 6c 6f 63 | 20 6f 66 20 62 67 20 62 | the loc| of bg b|
|00000d00| 74 6e 20 22 70 72 65 76 | 69 6f 75 73 20 70 61 67 |tn "prev|ious pag|
|00000d10| 65 22 0d 65 6c 73 65 20 | 70 61 73 73 20 6b 65 79 |e".else |pass key|
|00000d20| 44 6f 77 6e 0d 65 6c 73 | 65 20 70 61 73 73 20 6b |Down.els|e pass k|
|00000d30| 65 79 44 6f 77 6e 0d 65 | 6e 64 20 6b 65 79 44 6f |eyDown.e|nd keyDo|
|00000d40| 77 6e 0d 0d 6f 6e 20 64 | 6f 4d 65 6e 75 20 77 68 |wn..on d|oMenu wh|
|00000d50| 69 63 68 0d 69 66 20 77 | 68 69 63 68 20 69 73 20 |ich.if w|hich is |
|00000d60| 22 70 72 65 76 22 20 74 | 68 65 6e 20 67 6f 50 72 |"prev" t|hen goPr|
|00000d70| 65 76 69 6f 75 73 50 61 | 67 65 0d 65 6c 73 65 20 |eviousPa|ge.else |
|00000d80| 69 66 20 77 68 69 63 68 | 20 69 73 20 22 6e 65 78 |if which| is "nex|
|00000d90| 74 22 20 74 68 65 6e 20 | 67 6f 4e 65 78 74 50 61 |t" then |goNextPa|
|00000da0| 67 65 0d 65 6c 73 65 20 | 69 66 20 77 68 69 63 68 |ge.else |if which|
|00000db0| 20 69 73 20 22 66 69 72 | 73 74 22 20 74 68 65 6e | is "fir|st" then|
|00000dc0| 0d 47 6f 50 61 67 65 20 | 31 2c 22 77 69 70 65 20 |.GoPage |1,"wipe |
|00000dd0| 75 70 22 0d 65 6c 73 65 | 20 69 66 20 77 68 69 63 |up".else| if whic|
|00000de0| 68 20 69 73 20 22 6c 61 | 73 74 22 20 74 68 65 6e |h is "la|st" then|
|00000df0| 0d 47 6f 50 61 67 65 20 | 28 74 68 65 20 6e 75 6d |.GoPage |(the num|
|00000e00| 62 65 72 20 6f 66 20 63 | 61 72 64 73 29 2c 22 77 |ber of c|ards),"w|
|00000e10| 69 70 65 20 64 6f 77 6e | 22 0d 65 6c 73 65 20 69 |ipe down|".else i|
|00000e20| 66 20 77 68 69 63 68 20 | 69 73 20 22 66 69 6e 64 |f which |is "find|
|00000e30| 2e 2e 2e 22 20 74 68 65 | 6e 20 53 74 61 72 74 53 |..." the|n StartS|
|00000e40| 65 61 72 63 68 0d 65 6c | 73 65 20 20 70 61 73 73 |earch.el|se pass|
|00000e50| 20 64 6f 4d 65 6e 75 0d | 65 6e 64 20 64 6f 4d 65 | doMenu.|end doMe|
|00000e60| 6e 75 0d 0d 6f 6e 20 61 | 72 72 6f 77 4b 65 79 20 |nu..on a|rrowKey |
|00000e70| 64 69 72 65 63 74 69 6f | 6e 0d 69 66 20 64 69 72 |directio|n.if dir|
|00000e80| 65 63 74 69 6f 6e 20 69 | 73 20 22 72 69 67 68 74 |ection i|s "right|
|00000e90| 22 20 74 68 65 6e 0d 63 | 6c 69 63 6b 20 61 74 20 |" then.c|lick at |
|00000ea0| 74 68 65 20 6c 6f 63 20 | 6f 66 20 62 67 20 62 74 |the loc |of bg bt|
|00000eb0| 6e 20 22 4e 65 78 74 20 | 50 61 67 65 22 0d 65 6c |n "Next |Page".el|
|00000ec0| 73 65 20 69 66 20 64 69 | 72 65 63 74 69 6f 6e 20 |se if di|rection |
|00000ed0| 69 73 20 22 6c 65 66 74 | 22 20 74 68 65 6e 0d 63 |is "left|" then.c|
|00000ee0| 6c 69 63 6b 20 61 74 20 | 74 68 65 20 6c 6f 63 20 |lick at |the loc |
|00000ef0| 6f 66 20 62 67 20 62 74 | 6e 20 22 50 72 65 76 69 |of bg bt|n "Previ|
|00000f00| 6f 75 73 20 50 61 67 65 | 22 0d 65 6c 73 65 20 69 |ous Page|".else i|
|00000f10| 66 20 64 69 72 65 63 74 | 69 6f 6e 20 69 73 20 22 |f direct|ion is "|
|00000f20| 75 70 22 20 74 68 65 6e | 0d 63 6c 69 63 6b 20 61 |up" then|.click a|
|00000f30| 74 20 74 68 65 20 6c 6f | 63 20 6f 66 20 62 67 20 |t the lo|c of bg |
|00000f40| 62 74 6e 20 22 50 72 65 | 76 69 6f 75 73 20 41 72 |btn "Pre|vious Ar|
|00000f50| 74 69 63 6c 65 22 0d 65 | 6c 73 65 20 69 66 20 64 |ticle".e|lse if d|
|00000f60| 69 72 65 63 74 69 6f 6e | 20 69 73 20 22 64 6f 77 |irection| is "dow|
|00000f70| 6e 22 0d 74 68 65 6e 20 | 20 63 6c 69 63 6b 20 61 |n".then | click a|
|00000f80| 74 20 74 68 65 20 6c 6f | 63 20 6f 66 20 62 67 20 |t the lo|c of bg |
|00000f90| 62 74 6e 20 22 4e 65 78 | 74 20 41 72 74 69 63 6c |btn "Nex|t Articl|
|00000fa0| 65 22 0d 65 6e 64 20 61 | 72 72 6f 77 4b 65 79 0d |e".end a|rrowKey.|
|00000fb0| 0d 6f 6e 20 53 65 74 55 | 70 4d 65 6e 75 73 0d 73 |.on SetU|pMenus.s|
|00000fc0| 65 74 20 74 68 65 20 63 | 75 72 73 6f 72 20 74 6f |et the c|ursor to|
|00000fd0| 20 77 61 74 63 68 0d 72 | 65 73 65 74 20 6d 65 6e | watch.r|eset men|
|00000fe0| 75 62 61 72 0d 69 66 20 | 74 68 65 72 65 20 69 73 |ubar.if |there is|
|00000ff0| 20 61 20 6d 65 6e 75 20 | 22 46 6f 6e 74 22 20 74 | a menu |"Font" t|
|00001000| 68 65 6e 20 64 65 6c 65 | 74 65 20 6d 65 6e 75 20 |hen dele|te menu |
|00001010| 22 46 6f 6e 74 22 0d 69 | 66 20 74 68 65 72 65 20 |"Font".i|f there |
|00001020| 69 73 20 61 20 6d 65 6e | 75 20 22 53 74 79 6c 65 |is a men|u "Style|
|00001030| 22 20 74 68 65 6e 20 64 | 65 6c 65 74 65 20 6d 65 |" then d|elete me|
|00001040| 6e 75 20 22 53 74 79 6c | 65 22 0d 0d 69 66 20 74 |nu "Styl|e"..if t|
|00001050| 68 65 72 65 20 69 73 20 | 61 20 6d 65 6e 75 69 74 |here is |a menuit|
|00001060| 65 6d 20 22 2d 31 22 20 | 6f 66 20 6d 65 6e 75 20 |em "-1" |of menu |
|00001070| 22 46 69 6c 65 22 20 74 | 68 65 6e 0d 70 75 74 20 |"File" t|hen.put |
|00001080| 22 2d 38 2c 45 78 70 6f | 72 74 20 42 6f 6f 6b 20 |"-8,Expo|rt Book |
|00001090| 54 65 78 74 2e 2e 2e 2c | 45 78 70 6f 72 74 20 4e |Text...,|Export N|
|000010a0| 6f 74 65 73 2e 2e 2e 2c | 2d 39 2c 42 6c 69 6e 64 |otes...,|-9,Blind|
|000010b0| 20 54 79 70 69 6e 67 22 | 20 69 6e 74 6f 20 6d 65 | Typing"| into me|
|000010c0| 6e 75 4c 69 73 74 0d 70 | 75 74 20 22 2c 45 78 70 |nuList.p|ut ",Exp|
|000010d0| 6f 72 74 41 6c 6c 42 6f | 6f 6b 54 65 78 74 2c 45 |ortAllBo|okText,E|
|000010e0| 78 70 6f 72 74 4e 6f 74 | 65 73 2c 2d 2c 54 6f 67 |xportNot|es,-,Tog|
|000010f0| 67 6c 65 42 6c 69 6e 64 | 54 79 70 69 6e 67 22 20 |gleBlind|Typing" |
|00001100| 69 6e 74 6f 20 6d 73 67 | 4c 69 73 74 0d 49 6e 73 |into msg|List.Ins|
|00001110| 65 72 74 4d 65 6e 75 20 | 22 46 69 6c 65 22 2c 22 |ertMenu |"File","|
|00001120| 2d 31 22 2c 6d 65 6e 75 | 4c 69 73 74 2c 6d 73 67 |-1",menu|List,msg|
|00001130| 4c 69 73 74 0d 73 65 74 | 20 74 68 65 20 63 6f 6d |List.set| the com|
|00001140| 6d 61 6e 64 43 68 61 72 | 20 6f 66 20 6d 65 6e 75 |mandChar| of menu|
|00001150| 49 74 65 6d 20 22 42 6c | 69 6e 64 20 54 79 70 69 |Item "Bl|ind Typi|
|00001160| 6e 67 22 20 6f 66 20 6d | 65 6e 75 20 22 46 69 6c |ng" of m|enu "Fil|
|00001170| 65 22 20 74 6f 20 22 44 | 22 0d 73 65 74 20 74 68 |e" to "D|".set th|
|00001180| 65 20 63 68 65 63 6b 6d | 61 72 6b 20 6f 66 20 6d |e checkm|ark of m|
|00001190| 65 6e 75 49 74 65 6d 20 | 22 42 6c 69 6e 64 20 54 |enuItem |"Blind T|
|000011a0| 79 70 69 6e 67 22 20 6f | 66 20 6d 65 6e 75 20 22 |yping" o|f menu "|
|000011b0| 46 69 6c 65 22 20 74 6f | 20 28 74 68 65 20 42 6c |File" to| (the Bl|
|000011c0| 69 6e 64 54 79 70 69 6e | 67 29 0d 65 6e 64 20 69 |indTypin|g).end i|
|000011d0| 66 0d 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |f..if th|ere is a|
|000011e0| 20 6d 65 6e 75 20 22 45 | 64 69 74 22 20 74 68 65 | menu "E|dit" the|
|000011f0| 6e 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |n.if the|re is a |
|00001200| 6d 65 6e 75 69 74 65 6d | 20 22 2d 32 22 20 6f 66 |menuitem| "-2" of|
|00001210| 20 6d 65 6e 75 20 22 45 | 64 69 74 22 20 74 68 65 | menu "E|dit" the|
|00001220| 6e 0d 69 66 20 53 68 6f | 77 69 6e 67 4e 6f 74 65 |n.if Sho|wingNote|
|00001230| 73 28 29 20 74 68 65 6e | 0d 70 75 74 20 22 2d 37 |s() then|.put "-7|
|00001240| 2c 53 68 6f 77 20 4e 6f | 74 65 73 2c 55 6e 64 65 |,Show No|tes,Unde|
|00001250| 72 6c 69 6e 65 20 54 65 | 78 74 2c 53 65 74 20 42 |rline Te|xt,Set B|
|00001260| 6f 6f 6b 6d 61 72 6b 2c | 2d 38 2c 43 6c 65 61 72 |ookmark,|-8,Clear|
|00001270| 20 4e 6f 74 65 73 2e 2e | 2e 2c 43 6c 65 61 72 20 | Notes..|.,Clear |
|00001280| 42 6f 6f 6b 6d 61 72 6b | 73 2e 2e 2e 2c 22 69 6e |Bookmark|s...,"in|
|00001290| 74 6f 20 6d 65 6e 75 4c | 69 73 74 0d 65 6c 73 65 |to menuL|ist.else|
|000012a0| 20 70 75 74 20 22 2d 37 | 2c 53 68 6f 77 20 4e 6f | put "-7|,Show No|
|000012b0| 74 65 73 2c 55 6e 64 65 | 72 6c 69 6e 65 20 54 65 |tes,Unde|rline Te|
|000012c0| 78 74 2c 53 65 74 20 42 | 6f 6f 6b 6d 61 72 6b 2c |xt,Set B|ookmark,|
|000012d0| 2d 38 2c 43 6c 65 61 72 | 20 4e 6f 74 65 73 2e 2e |-8,Clear| Notes..|
|000012e0| 2e 2c 43 6c 65 61 72 20 | 42 6f 6f 6b 6d 61 72 6b |.,Clear |Bookmark|
|000012f0| 73 2e 2e 2e 2c 22 69 6e | 74 6f 20 6d 65 6e 75 4c |s...,"in|to menuL|
|00001300| 69 73 74 0d 70 75 74 20 | 22 2c 53 68 6f 77 4e 6f |ist.put |",ShowNo|
|00001310| 74 65 73 20 6e 6f 74 20 | 53 68 6f 77 69 6e 67 4e |tes not |ShowingN|
|00001320| 6f 74 65 73 28 29 2c 4d | 61 72 6b 54 65 78 74 2c |otes(),M|arkText,|
|00001330| 42 6f 6f 6b 4d 61 72 6b | 2c 2d 2c 43 6c 65 61 72 |BookMark|,-,Clear|
|00001340| 4e 6f 74 65 73 2c 43 6c | 65 61 72 42 6f 6f 6b 4d |Notes,Cl|earBookM|
|00001350| 61 72 6b 73 22 20 69 6e | 74 6f 20 6d 73 67 4c 69 |arks" in|to msgLi|
|00001360| 73 74 0d 70 75 74 20 22 | 2c 4e 2c 55 2c 22 20 69 |st.put "|,N,U," i|
|00001370| 6e 74 6f 20 63 6d 64 43 | 68 61 72 4c 69 73 74 0d |nto cmdC|harList.|
|00001380| 49 6e 73 65 72 74 4d 65 | 6e 75 20 22 45 64 69 74 |InsertMe|nu "Edit|
|00001390| 22 2c 22 2d 32 22 2c 6d | 65 6e 75 4c 69 73 74 2c |","-2",m|enuList,|
|000013a0| 6d 73 67 4c 69 73 74 2c | 63 6d 64 43 68 61 72 4c |msgList,|cmdCharL|
|000013b0| 69 73 74 0d 65 6e 64 20 | 69 66 0d 69 66 20 74 68 |ist.end |if.if th|
|000013c0| 65 72 65 20 69 73 20 61 | 20 6d 65 6e 75 49 74 65 |ere is a| menuIte|
|000013d0| 6d 20 22 54 65 78 74 20 | 53 74 79 6c 65 2e 2e 2e |m "Text |Style...|
|000013e0| 22 20 6f 66 20 6d 65 6e | 75 20 22 45 64 69 74 22 |" of men|u "Edit"|
|000013f0| 20 c2 0d 61 6e 64 20 6e | 6f 74 20 41 75 74 6f 46 | ..and n|ot AutoF|
|00001400| 6c 6f 77 69 6e 67 28 29 | 20 74 68 65 6e 20 64 65 |lowing()| then de|
|00001410| 6c 65 74 65 20 6d 65 6e | 75 49 74 65 6d 20 22 54 |lete men|uItem "T|
|00001420| 65 78 74 20 53 74 79 6c | 65 2e 2e 2e 22 20 6f 66 |ext Styl|e..." of|
|00001430| 20 6d 65 6e 75 20 22 45 | 64 69 74 22 0d 0d 69 66 | menu "E|dit"..if|
|00001440| 20 74 68 65 72 65 20 69 | 73 20 61 20 6d 65 6e 75 | there i|s a menu|
|00001450| 49 74 65 6d 20 22 4e 65 | 77 20 43 61 72 64 22 20 |Item "Ne|w Card" |
|00001460| 6f 66 20 6d 65 6e 75 20 | 22 45 64 69 74 22 20 c2 |of menu |"Edit" .|
|00001470| 0d 74 68 65 6e 20 64 65 | 6c 65 74 65 20 6d 65 6e |.then de|lete men|
|00001480| 75 49 74 65 6d 20 22 4e | 65 77 20 43 61 72 64 22 |uItem "N|ew Card"|
|00001490| 20 6f 66 20 6d 65 6e 75 | 20 22 45 64 69 74 22 0d | of menu| "Edit".|
|000014a0| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 6d |.if ther|e is a m|
|000014b0| 65 6e 75 49 74 65 6d 20 | 22 44 65 6c 65 74 65 20 |enuItem |"Delete |
|000014c0| 43 61 72 64 22 20 6f 66 | 20 6d 65 6e 75 20 22 45 |Card" of| menu "E|
|000014d0| 64 69 74 22 20 c2 0d 74 | 68 65 6e 20 64 65 6c 65 |dit" ..t|hen dele|
|000014e0| 74 65 20 6d 65 6e 75 49 | 74 65 6d 20 22 44 65 6c |te menuI|tem "Del|
|000014f0| 65 74 65 20 43 61 72 64 | 22 20 6f 66 20 6d 65 6e |ete Card|" of men|
|00001500| 75 20 22 45 64 69 74 22 | 0d 0d 69 66 20 74 68 65 |u "Edit"|..if the|
|00001510| 72 65 20 69 73 20 61 20 | 6d 65 6e 75 49 74 65 6d |re is a |menuItem|
|00001520| 20 22 43 75 74 20 43 61 | 72 64 22 20 6f 66 20 6d | "Cut Ca|rd" of m|
|00001530| 65 6e 75 20 22 45 64 69 | 74 22 20 c2 0d 74 68 65 |enu "Edi|t" ..the|
|00001540| 6e 20 64 65 6c 65 74 65 | 20 6d 65 6e 75 49 74 65 |n delete| menuIte|
|00001550| 6d 20 22 43 75 74 20 43 | 61 72 64 22 20 6f 66 20 |m "Cut C|ard" of |
|00001560| 6d 65 6e 75 20 22 45 64 | 69 74 22 0d 65 6e 64 20 |menu "Ed|it".end |
|00001570| 69 66 0d 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |if..if t|here is |
|00001580| 61 20 6d 65 6e 75 20 22 | 47 6f 22 20 74 68 65 6e |a menu "|Go" then|
|00001590| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 6d |.if ther|e is a m|
|000015a0| 65 6e 75 49 74 65 6d 20 | 22 2d 31 22 20 6f 66 20 |enuItem |"-1" of |
|000015b0| 6d 65 6e 75 20 22 47 6f | 22 20 74 68 65 6e 0d 70 |menu "Go|" then.p|
|000015c0| 75 74 20 22 2d 2c 54 61 | 62 6c 65 20 6f 66 20 43 |ut "-,Ta|ble of C|
|000015d0| 6f 6e 74 65 6e 74 73 2c | 50 72 65 76 20 43 68 61 |ontents,|Prev Cha|
|000015e0| 70 74 65 72 2c 4e 65 78 | 74 20 43 68 61 70 74 65 |pter,Nex|t Chapte|
|000015f0| 72 2c 50 72 65 76 20 42 | 6f 6f 6b 6d 61 72 6b 2c |r,Prev B|ookmark,|
|00001600| 4e 65 78 74 20 42 6f 6f | 6b 6d 61 72 6b 2c 41 75 |Next Boo|kmark,Au|
|00001610| 74 6f 2d 42 6f 6f 6b 6d | 61 72 6b 22 20 69 6e 74 |to-Bookm|ark" int|
|00001620| 6f 20 6d 65 6e 75 4c 69 | 73 74 0d 70 75 74 20 22 |o menuLi|st.put "|
|00001630| 2d 2c 47 6f 43 6f 6e 74 | 65 6e 74 73 2c 47 6f 50 |-,GoCont|ents,GoP|
|00001640| 72 65 76 69 6f 75 73 41 | 72 74 69 63 6c 65 2c 47 |reviousA|rticle,G|
|00001650| 6f 4e 65 78 74 41 72 74 | 69 63 6c 65 2c 47 6f 50 |oNextArt|icle,GoP|
|00001660| 72 65 76 42 6f 6f 6b 4d | 61 72 6b 2c 47 6f 42 6f |revBookM|ark,GoBo|
|00001670| 6f 6b 4d 61 72 6b 2c 41 | 75 74 6f 42 6f 6f 6b 4d |okMark,A|utoBookM|
|00001680| 61 72 6b 22 20 69 6e 74 | 6f 20 6d 73 67 4c 69 73 |ark" int|o msgLis|
|00001690| 74 0d 70 75 74 20 22 2c | 35 2c 36 2c 37 2c 38 2c |t.put ",|5,6,7,8,|
|000016a0| 39 2c 41 22 20 69 6e 74 | 6f 20 63 6d 64 43 68 61 |9,A" int|o cmdCha|
|000016b0| 72 4c 69 73 74 0d 49 6e | 73 65 72 74 4d 65 6e 75 |rList.In|sertMenu|
|000016c0| 20 22 47 6f 22 2c 22 2d | 31 22 2c 22 54 6f 20 50 | "Go","-|1","To P|
|000016d0| 61 67 65 2e 2e 2e 22 2c | 22 47 6f 54 6f 50 61 67 |age...",|"GoToPag|
|000016e0| 65 22 2c 22 30 22 0d 65 | 6e 64 20 69 66 0d 0d 69 |e","0".e|nd if..i|
|000016f0| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 6d 65 6e |f there |is a men|
|00001700| 75 69 74 65 6d 20 22 2d | 32 22 20 6f 66 20 6d 65 |uitem "-|2" of me|
|00001710| 6e 75 20 22 47 6f 22 20 | 74 68 65 6e 0d 49 6e 73 |nu "Go" |then.Ins|
|00001720| 65 72 74 4d 65 6e 75 20 | 22 47 6f 22 2c 22 2d 32 |ertMenu |"Go","-2|
|00001730| 22 2c 6d 65 6e 75 4c 69 | 73 74 2c 6d 73 67 4c 69 |",menuLi|st,msgLi|
|00001740| 73 74 2c 63 6d 64 43 68 | 61 72 4c 69 73 74 0d 65 |st,cmdCh|arList.e|
|00001750| 6e 64 20 69 66 0d 0d 69 | 66 20 74 68 65 72 65 20 |nd if..i|f there |
|00001760| 69 73 20 61 20 6d 65 6e | 75 49 74 65 6d 20 22 46 |is a men|uItem "F|
|00001770| 69 6e 64 2e 2e 2e 22 20 | 6f 66 20 6d 65 6e 75 20 |ind..." |of menu |
|00001780| 22 47 6f 22 20 74 68 65 | 6e 0d 70 75 74 20 22 46 |"Go" the|n.put "F|
|00001790| 69 6e 64 20 41 67 61 69 | 6e 22 20 61 66 74 65 72 |ind Agai|n" after|
|000017a0| 20 6d 65 6e 75 69 74 65 | 6d 20 22 46 69 6e 64 2e | menuite|m "Find.|
|000017b0| 2e 2e 22 20 6f 66 20 6d | 65 6e 75 20 22 47 6f 22 |.." of m|enu "Go"|
|000017c0| 20 c2 0d 77 69 74 68 20 | 6d 65 6e 75 6d 65 73 73 | ..with |menumess|
|000017d0| 61 67 65 73 20 22 53 74 | 61 72 74 53 65 61 72 63 |ages "St|artSearc|
|000017e0| 68 20 74 72 75 65 22 0d | 73 65 74 20 74 68 65 20 |h true".|set the |
|000017f0| 63 6f 6d 6d 61 6e 64 43 | 68 61 72 20 6f 66 20 6d |commandC|har of m|
|00001800| 65 6e 75 49 74 65 6d 20 | 22 46 69 6e 64 20 41 67 |enuItem |"Find Ag|
|00001810| 61 69 6e 22 20 6f 66 20 | 6d 65 6e 75 20 22 47 6f |ain" of |menu "Go|
|00001820| 22 20 74 6f 20 22 47 22 | 0d 65 6e 64 20 69 66 0d |" to "G"|.end if.|
|00001830| 65 6e 64 20 69 66 0d 65 | 6e 64 20 53 65 74 55 70 |end if.e|nd SetUp|
|00001840| 4d 65 6e 75 73 0d 0d 6f | 6e 20 49 6e 73 65 72 74 |Menus..o|n Insert|
|00001850| 4d 65 6e 75 20 74 68 65 | 4d 65 6e 75 2c 74 68 65 |Menu the|Menu,the|
|00001860| 50 6f 73 69 74 69 6f 6e | 2c 6d 65 6e 75 4c 69 73 |Position|,menuLis|
|00001870| 74 2c 6d 73 67 4c 69 73 | 74 2c 63 6d 64 43 68 61 |t,msgLis|t,cmdCha|
|00001880| 72 4c 69 73 74 0d 70 75 | 74 20 4c 69 6e 65 4e 75 |rList.pu|t LineNu|
|00001890| 6d 62 65 72 28 74 68 65 | 50 6f 73 69 74 69 6f 6e |mber(the|Position|
|000018a0| 2c 6d 65 6e 75 20 74 68 | 65 4d 65 6e 75 29 20 69 |,menu th|eMenu) i|
|000018b0| 6e 74 6f 20 74 68 65 49 | 74 65 6d 0d 69 66 20 74 |nto theI|tem.if t|
|000018c0| 68 65 49 74 65 6d 20 69 | 73 20 30 20 74 68 65 6e |heItem i|s 0 then|
|000018d0| 20 65 78 69 74 20 49 6e | 73 65 72 74 4d 65 6e 75 | exit In|sertMenu|
|000018e0| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =|
|000018f0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 69 | the num|ber of i|
|00001900| 74 65 6d 73 20 6f 66 20 | 6d 65 6e 75 4c 69 73 74 |tems of |menuList|
|00001910| 20 64 6f 77 6e 20 74 6f | 20 31 0d 70 75 74 20 69 | down to| 1.put i|
|00001920| 74 65 6d 20 69 20 6f 66 | 20 6d 65 6e 75 4c 69 73 |tem i of| menuLis|
|00001930| 74 20 69 6e 74 6f 20 69 | 74 65 6d 4e 61 6d 65 0d |t into i|temName.|
|00001940| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 6d 65 |if there| is a me|
|00001950| 6e 75 49 74 65 6d 20 69 | 74 65 6d 4e 61 6d 65 20 |nuItem i|temName |
|00001960| 6f 66 20 6d 65 6e 75 20 | 74 68 65 4d 65 6e 75 20 |of menu |theMenu |
|00001970| 74 68 65 6e 20 6e 65 78 | 74 20 72 65 70 65 61 74 |then nex|t repeat|
|00001980| 0d 0d 70 75 74 20 69 74 | 65 6d 4e 61 6d 65 20 62 |..put it|emName b|
|00001990| 65 66 6f 72 65 20 6d 65 | 6e 75 49 74 65 6d 20 74 |efore me|nuItem t|
|000019a0| 68 65 49 74 65 6d 20 6f | 66 20 6d 65 6e 75 20 74 |heItem o|f menu t|
|000019b0| 68 65 4d 65 6e 75 20 20 | c2 0d 77 69 74 68 20 6d |heMenu |..with m|
|000019c0| 65 6e 75 6d 65 73 73 61 | 67 65 73 20 69 74 65 6d |enumessa|ges item|
|000019d0| 20 69 20 6f 66 20 6d 73 | 67 4c 69 73 74 0d 69 66 | i of ms|gList.if|
|000019e0| 20 69 74 65 6d 20 69 20 | 6f 66 20 63 6d 64 43 68 | item i |of cmdCh|
|000019f0| 61 72 4c 69 73 74 20 69 | 73 20 6e 6f 74 20 65 6d |arList i|s not em|
|00001a00| 70 74 79 20 74 68 65 6e | 0d 73 65 74 20 74 68 65 |pty then|.set the|
|00001a10| 20 63 6f 6d 6d 61 6e 64 | 43 68 61 72 20 6f 66 20 | command|Char of |
|00001a20| 6d 65 6e 75 49 74 65 6d | 20 69 74 65 6d 4e 61 6d |menuItem| itemNam|
|00001a30| 65 20 6f 66 20 6d 65 6e | 75 20 74 68 65 4d 65 6e |e of men|u theMen|
|00001a40| 75 20 74 6f 20 69 74 65 | 6d 20 69 20 6f 66 20 63 |u to ite|m i of c|
|00001a50| 6d 64 43 68 61 72 4c 69 | 73 74 0d 65 6e 64 20 69 |mdCharLi|st.end i|
|00001a60| 66 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 65 6e 64 |f.end re|peat.end|
|00001a70| 20 49 6e 73 65 72 74 4d | 65 6e 75 0d 0d 6f 6e 20 | InsertM|enu..on |
|00001a80| 52 65 6d 6f 76 65 4d 65 | 6e 75 73 0d 72 65 73 65 |RemoveMe|nus.rese|
|00001a90| 74 20 6d 65 6e 75 62 61 | 72 0d 65 6e 64 20 52 65 |t menuba|r.end Re|
|00001aa0| 6d 6f 76 65 4d 65 6e 75 | 73 0d 0d 46 55 4e 43 54 |moveMenu|s..FUNCT|
|00001ab0| 49 4f 4e 20 41 75 74 6f | 46 6c 6f 77 69 6e 67 0d |ION Auto|Flowing.|
|00001ac0| 72 65 74 75 72 6e 20 74 | 68 65 20 73 74 61 63 6b |return t|he stack|
|00001ad0| 73 69 6e 75 73 65 20 63 | 6f 6e 74 61 69 6e 73 20 |sinuse c|ontains |
|00001ae0| 22 61 75 74 6f 66 6c 6f | 77 22 0d 65 6e 64 20 41 |"autoflo|w".end A|
|00001af0| 75 74 6f 46 6c 6f 77 69 | 6e 67 0d 0d 6f 6e 20 54 |utoFlowi|ng..on T|
|00001b00| 6f 67 67 6c 65 42 6c 69 | 6e 64 54 79 70 69 6e 67 |oggleBli|ndTyping|
|00001b10| 0d 67 65 74 20 6e 6f 74 | 20 74 68 65 20 62 6c 69 |.get not| the bli|
|00001b20| 6e 64 54 79 70 69 6e 67 | 0d 69 66 20 74 68 65 72 |ndTyping|.if ther|
|00001b30| 65 20 69 73 20 61 20 6d | 65 6e 75 49 74 65 6d 20 |e is a m|enuItem |
|00001b40| 22 42 6c 69 6e 64 20 54 | 79 70 69 6e 67 22 20 6f |"Blind T|yping" o|
|00001b50| 66 20 6d 65 6e 75 20 22 | 46 69 6c 65 22 0d 74 68 |f menu "|File".th|
|00001b60| 65 6e 20 73 65 74 20 74 | 68 65 20 63 68 65 63 6b |en set t|he check|
|00001b70| 6d 61 72 6b 20 6f 66 20 | 6d 65 6e 75 49 74 65 6d |mark of |menuItem|
|00001b80| 20 22 42 6c 69 6e 64 20 | 54 79 70 69 6e 67 22 20 | "Blind |Typing" |
|00001b90| 6f 66 20 6d 65 6e 75 20 | 22 46 69 6c 65 22 20 74 |of menu |"File" t|
|00001ba0| 6f 20 69 74 0d 73 65 74 | 20 74 68 65 20 42 6c 69 |o it.set| the Bli|
|00001bb0| 6e 64 54 79 70 69 6e 67 | 20 74 6f 20 69 74 0d 65 |ndTyping| to it.e|
|00001bc0| 6e 64 20 54 6f 67 67 6c | 65 42 6c 69 6e 64 54 79 |nd Toggl|eBlindTy|
|00001bd0| 70 69 6e 67 0d 0d 2d 2d | 09 47 4f 20 74 68 69 6e |ping..--|.GO thin|
|00001be0| 67 73 0d 6f 6e 20 47 6f | 50 61 67 65 20 74 68 65 |gs.on Go|Page the|
|00001bf0| 43 61 72 64 2c 74 68 65 | 45 66 66 65 63 74 2c 74 |Card,the|Effect,t|
|00001c00| 68 65 53 74 61 63 6b 0d | 69 66 20 74 68 65 45 66 |heStack.|if theEf|
|00001c10| 66 65 63 74 20 69 73 20 | 65 6d 70 74 79 20 74 68 |fect is |empty th|
|00001c20| 65 6e 20 70 75 74 20 22 | 70 6c 61 69 6e 22 20 69 |en put "|plain" i|
|00001c30| 6e 74 6f 20 74 68 65 45 | 66 66 65 63 74 0d 69 66 |nto theE|ffect.if|
|00001c40| 20 74 68 65 53 74 61 63 | 6b 20 69 73 20 65 6d 70 | theStac|k is emp|
|00001c50| 74 79 20 74 68 65 6e 20 | 70 75 74 20 53 74 61 63 |ty then |put Stac|
|00001c60| 6b 4e 61 6d 65 28 29 20 | 69 6e 74 6f 20 74 68 65 |kName() |into the|
|00001c70| 53 74 61 63 6b 0d 6c 6f | 63 6b 20 73 63 72 65 65 |Stack.lo|ck scree|
|00001c80| 6e 0d 67 6f 20 74 6f 20 | 63 61 72 64 20 74 68 65 |n.go to |card the|
|00001c90| 43 61 72 64 20 6f 66 20 | 73 74 61 63 6b 20 74 68 |Card of |stack th|
|00001ca0| 65 53 74 61 63 6b 0d 75 | 6e 6c 6f 63 6b 20 73 63 |eStack.u|nlock sc|
|00001cb0| 72 65 65 6e 20 77 69 74 | 68 20 76 69 73 75 61 6c |reen wit|h visual|
|00001cc0| 20 65 66 66 65 63 74 20 | 74 68 65 45 66 66 65 63 | effect |theEffec|
|00001cd0| 74 0d 73 65 74 20 74 68 | 65 20 6c 6f 63 6b 73 63 |t.set th|e locksc|
|00001ce0| 72 65 65 6e 20 74 6f 20 | 66 61 6c 73 65 0d 72 65 |reen to |false.re|
|00001cf0| 70 65 61 74 20 77 68 69 | 6c 65 20 74 68 65 20 6d |peat whi|le the m|
|00001d00| 6f 75 73 65 63 6c 69 63 | 6b 0d 67 65 74 20 74 68 |ouseclic|k.get th|
|00001d10| 65 20 6d 6f 75 73 65 63 | 6c 69 63 6b 0d 65 6e 64 |e mousec|lick.end|
|00001d20| 20 72 65 70 65 61 74 0d | 65 6e 64 20 47 6f 50 61 | repeat.|end GoPa|
|00001d30| 67 65 0d 0d 6f 6e 20 47 | 6f 54 6f 50 61 67 65 0d |ge..on G|oToPage.|
|00001d40| 70 75 74 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |put the |number o|
|00001d50| 66 20 63 61 72 64 73 20 | 6f 66 20 62 67 20 22 54 |f cards |of bg "T|
|00001d60| 65 78 74 22 20 69 6e 74 | 6f 20 6c 61 73 74 50 61 |ext" int|o lastPa|
|00001d70| 67 65 0d 69 66 20 74 68 | 65 20 6e 75 6d 62 65 72 |ge.if th|e number|
|00001d80| 20 6f 66 20 74 68 69 73 | 20 63 61 72 64 20 69 73 | of this| card is|
|00001d90| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 6c | the num|ber of l|
|00001da0| 61 73 74 20 63 61 72 64 | 20 6f 66 20 62 67 20 22 |ast card| of bg "|
|00001db0| 54 65 78 74 22 20 c2 0d | 6f 72 20 74 68 65 20 6e |Text" ..|or the n|
|00001dc0| 75 6d 62 65 72 20 6f 66 | 20 74 68 69 73 20 63 61 |umber of| this ca|
|00001dd0| 72 64 20 3c 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |rd < the| number |
|00001de0| 6f 66 20 66 69 72 73 74 | 20 63 61 72 64 20 6f 66 |of first| card of|
|00001df0| 20 62 67 20 22 54 65 78 | 74 22 20 74 68 65 6e 0d | bg "Tex|t" then.|
|00001e00| 67 65 74 20 31 0d 65 6c | 73 65 20 67 65 74 20 50 |get 1.el|se get P|
|00001e10| 61 67 65 4e 75 6d 62 65 | 72 28 29 2b 31 0d 61 73 |ageNumbe|r()+1.as|
|00001e20| 6b 20 22 47 6f 20 74 6f | 20 77 68 69 63 68 20 70 |k "Go to| which p|
|00001e30| 61 67 65 3f 20 28 31 2d | 22 26 6c 61 73 74 50 61 |age? (1-|"&lastPa|
|00001e40| 67 65 26 22 29 22 20 77 | 69 74 68 20 69 74 0d 69 |ge&")" w|ith it.i|
|00001e50| 66 20 69 74 20 69 73 20 | 65 6d 70 74 79 20 74 68 |f it is |empty th|
|00001e60| 65 6e 20 65 78 69 74 20 | 47 6f 54 6f 50 61 67 65 |en exit |GoToPage|
|00001e70| 0d 65 6c 73 65 20 69 66 | 20 69 74 20 69 73 20 6e |.else if| it is n|
|00001e80| 6f 74 20 61 20 6e 75 6d | 62 65 72 20 6f 72 20 69 |ot a num|ber or i|
|00001e90| 74 20 3e 20 6c 61 73 74 | 50 61 67 65 20 6f 72 20 |t > last|Page or |
|00001ea0| 69 74 20 3c 20 31 20 74 | 68 65 6e 0d 62 65 65 70 |it < 1 t|hen.beep|
|00001eb0| 0d 65 78 69 74 20 47 6f | 54 6f 50 61 67 65 0d 65 |.exit Go|ToPage.e|
|00001ec0| 6e 64 20 69 66 0d 70 75 | 74 20 74 68 65 20 6e 75 |nd if.pu|t the nu|
|00001ed0| 6d 62 65 72 20 6f 66 20 | 63 61 72 64 20 69 74 20 |mber of |card it |
|00001ee0| 6f 66 20 62 67 20 22 74 | 65 78 74 22 20 69 6e 74 |of bg "t|ext" int|
|00001ef0| 6f 20 74 68 65 50 61 67 | 65 0d 47 6f 50 61 67 65 |o thePag|e.GoPage|
|00001f00| 20 74 68 65 50 61 67 65 | 2c 22 64 69 73 73 6f 6c | thePage|,"dissol|
|00001f10| 76 65 20 76 65 72 79 20 | 66 61 73 74 22 0d 65 6e |ve very |fast".en|
|00001f20| 64 20 47 6f 54 6f 50 61 | 67 65 0d 0d 6f 6e 20 47 |d GoToPa|ge..on G|
|00001f30| 6f 4e 65 78 74 50 61 67 | 65 0d 72 65 70 65 61 74 |oNextPag|e.repeat|
|00001f40| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 67 6f 20 |.lock sc|reen.go |
|00001f50| 6e 65 78 74 0d 75 6e 6c | 6f 63 6b 20 73 63 72 65 |next.unl|ock scre|
|00001f60| 65 6e 20 77 69 74 68 20 | 76 69 73 75 61 6c 20 65 |en with |visual e|
|00001f70| 66 66 65 63 74 20 77 69 | 70 65 20 6c 65 66 74 20 |ffect wi|pe left |
|00001f80| 66 61 73 74 0d 69 66 20 | 74 68 65 20 6d 6f 75 73 |fast.if |the mous|
|00001f90| 65 20 69 73 20 75 70 20 | 74 68 65 6e 20 65 78 69 |e is up |then exi|
|00001fa0| 74 20 72 65 70 65 61 74 | 0d 69 66 20 74 68 65 20 |t repeat|.if the |
|00001fb0| 6d 6f 75 73 65 4c 6f 63 | 20 69 73 20 6e 6f 74 20 |mouseLoc| is not |
|00001fc0| 77 69 74 68 69 6e 20 74 | 68 65 20 72 65 63 74 20 |within t|he rect |
|00001fd0| 6f 66 20 74 68 65 20 74 | 61 72 67 65 74 20 74 68 |of the t|arget th|
|00001fe0| 65 6e 20 65 78 69 74 20 | 72 65 70 65 61 74 0d 65 |en exit |repeat.e|
|00001ff0| 6e 64 20 72 65 70 65 61 | 74 0d 65 6e 64 20 47 6f |nd repea|t.end Go|
|00002000| 4e 65 78 74 50 61 67 65 | 0d 0d 6f 6e 20 47 6f 50 |NextPage|..on GoP|
|00002010| 72 65 76 69 6f 75 73 50 | 61 67 65 0d 72 65 70 65 |reviousP|age.repe|
|00002020| 61 74 0d 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 67 |at.lock |screen.g|
|00002030| 6f 20 70 72 65 76 0d 75 | 6e 6c 6f 63 6b 20 73 63 |o prev.u|nlock sc|
|00002040| 72 65 65 6e 20 77 69 74 | 68 20 76 69 73 75 61 6c |reen wit|h visual|
|00002050| 20 65 66 66 65 63 74 20 | 77 69 70 65 20 72 69 67 | effect |wipe rig|
|00002060| 68 74 20 66 61 73 74 0d | 69 66 20 74 68 65 20 6d |ht fast.|if the m|
|00002070| 6f 75 73 65 20 69 73 20 | 75 70 20 74 68 65 6e 20 |ouse is |up then |
|00002080| 65 78 69 74 20 72 65 70 | 65 61 74 0d 69 66 20 74 |exit rep|eat.if t|
|00002090| 68 65 20 6d 6f 75 73 65 | 4c 6f 63 20 69 73 20 6e |he mouse|Loc is n|
|000020a0| 6f 74 20 77 69 74 68 69 | 6e 20 74 68 65 20 72 65 |ot withi|n the re|
|000020b0| 63 74 20 6f 66 20 74 68 | 65 20 74 61 72 67 65 74 |ct of th|e target|
|000020c0| 20 74 68 65 6e 20 65 78 | 69 74 20 72 65 70 65 61 | then ex|it repea|
|000020d0| 74 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 65 6e 64 |t.end re|peat.end|
|000020e0| 20 47 6f 50 72 65 76 69 | 6f 75 73 50 61 67 65 0d | GoPrevi|ousPage.|
|000020f0| 0d 6f 6e 20 47 6f 4e 65 | 78 74 41 72 74 69 63 6c |.on GoNe|xtArticl|
|00002100| 65 0d 73 65 74 20 74 68 | 65 20 63 75 72 73 6f 72 |e.set th|e cursor|
|00002110| 20 74 6f 20 77 61 74 63 | 68 0d 70 75 74 20 43 61 | to watc|h.put Ca|
|00002120| 72 64 4e 75 6d 62 65 72 | 28 29 20 69 6e 74 6f 20 |rdNumber|() into |
|00002130| 74 68 65 43 61 72 64 0d | 72 65 70 65 61 74 0d 69 |theCard.|repeat.i|
|00002140| 66 20 42 65 67 69 6e 6e | 69 6e 67 4f 66 53 65 63 |f Beginn|ingOfSec|
|00002150| 74 69 6f 6e 28 29 20 74 | 68 65 6e 20 61 64 64 20 |tion() t|hen add |
|00002160| 31 20 74 6f 20 74 68 65 | 43 61 72 64 0d 69 66 20 |1 to the|Card.if |
|00002170| 74 68 65 43 61 72 64 20 | 3e 20 74 68 65 20 6e 75 |theCard |> the nu|
|00002180| 6d 62 65 72 20 6f 66 20 | 63 61 72 64 73 20 74 68 |mber of |cards th|
|00002190| 65 6e 20 70 75 74 20 31 | 20 69 6e 74 6f 20 74 68 |en put 1| into th|
|000021a0| 65 43 61 72 64 0d 72 65 | 70 65 61 74 20 77 68 69 |eCard.re|peat whi|
|000021b0| 6c 65 20 6e 6f 74 20 42 | 65 67 69 6e 6e 69 6e 67 |le not B|eginning|
|000021c0| 4f 66 53 65 63 74 69 6f | 6e 28 74 68 65 43 61 72 |OfSectio|n(theCar|
|000021d0| 64 29 0d 61 64 64 20 31 | 20 74 6f 20 74 68 65 43 |d).add 1| to theC|
|000021e0| 61 72 64 0d 69 66 20 74 | 68 65 43 61 72 64 20 3e |ard.if t|heCard >|
|000021f0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 63 | the num|ber of c|
|00002200| 61 72 64 73 20 74 68 65 | 6e 20 70 75 74 20 31 20 |ards the|n put 1 |
|00002210| 69 6e 74 6f 20 74 68 65 | 43 61 72 64 0d 65 6e 64 |into the|Card.end|
|00002220| 20 72 65 70 65 61 74 0d | 47 6f 50 61 67 65 20 74 | repeat.|GoPage t|
|00002230| 68 65 43 61 72 64 2c 22 | 7a 6f 6f 6d 20 6f 75 74 |heCard,"|zoom out|
|00002240| 22 0d 69 66 20 74 68 65 | 20 6d 6f 75 73 65 20 69 |".if the| mouse i|
|00002250| 73 20 75 70 20 74 68 65 | 6e 20 65 78 69 74 20 72 |s up the|n exit r|
|00002260| 65 70 65 61 74 0d 65 6e | 64 20 72 65 70 65 61 74 |epeat.en|d repeat|
|00002270| 0d 65 6e 64 20 47 6f 4e | 65 78 74 41 72 74 69 63 |.end GoN|extArtic|
|00002280| 6c 65 0d 0d 6f 6e 20 47 | 6f 50 72 65 76 69 6f 75 |le..on G|oPreviou|
|00002290| 73 41 72 74 69 63 6c 65 | 0d 73 65 74 20 74 68 65 |sArticle|.set the|
|000022a0| 20 63 75 72 73 6f 72 20 | 74 6f 20 77 61 74 63 68 | cursor |to watch|
|000022b0| 0d 70 75 74 20 43 61 72 | 64 4e 75 6d 62 65 72 28 |.put Car|dNumber(|
|000022c0| 29 20 69 6e 74 6f 20 74 | 68 65 43 61 72 64 0d 72 |) into t|heCard.r|
|000022d0| 65 70 65 61 74 0d 69 66 | 20 42 65 67 69 6e 6e 69 |epeat.if| Beginni|
|000022e0| 6e 67 4f 66 53 65 63 74 | 69 6f 6e 28 29 20 74 68 |ngOfSect|ion() th|
|000022f0| 65 6e 20 73 75 62 74 72 | 61 63 74 20 31 20 66 72 |en subtr|act 1 fr|
|00002300| 6f 6d 20 74 68 65 43 61 | 72 64 0d 69 66 20 74 68 |om theCa|rd.if th|
|00002310| 65 43 61 72 64 20 3c 20 | 31 20 74 68 65 6e 20 70 |eCard < |1 then p|
|00002320| 75 74 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |ut the n|umber of|
|00002330| 20 63 61 72 64 73 20 69 | 6e 74 6f 20 74 68 65 43 | cards i|nto theC|
|00002340| 61 72 64 0d 72 65 70 65 | 61 74 20 77 68 69 6c 65 |ard.repe|at while|
|00002350| 20 6e 6f 74 20 42 65 67 | 69 6e 6e 69 6e 67 4f 66 | not Beg|inningOf|
|00002360| 53 65 63 74 69 6f 6e 28 | 74 68 65 43 61 72 64 29 |Section(|theCard)|
|00002370| 0d 73 75 62 74 72 61 63 | 74 20 31 20 66 72 6f 6d |.subtrac|t 1 from|
|00002380| 20 74 68 65 43 61 72 64 | 0d 69 66 20 74 68 65 43 | theCard|.if theC|
|00002390| 61 72 64 20 3c 20 31 20 | 74 68 65 6e 20 70 75 74 |ard < 1 |then put|
|000023a0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 63 | the num|ber of c|
|000023b0| 61 72 64 73 20 69 6e 74 | 6f 20 74 68 65 43 61 72 |ards int|o theCar|
|000023c0| 64 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 47 6f 50 |d.end re|peat.GoP|
|000023d0| 61 67 65 20 74 68 65 43 | 61 72 64 2c 22 7a 6f 6f |age theC|ard,"zoo|
|000023e0| 6d 20 6f 75 74 22 0d 69 | 66 20 74 68 65 20 6d 6f |m out".i|f the mo|
|000023f0| 75 73 65 20 69 73 20 75 | 70 20 74 68 65 6e 20 65 |use is u|p then e|
|00002400| 78 69 74 20 72 65 70 65 | 61 74 0d 65 6e 64 20 72 |xit repe|at.end r|
|00002410| 65 70 65 61 74 0d 65 6e | 64 20 47 6f 50 72 65 76 |epeat.en|d GoPrev|
|00002420| 69 6f 75 73 41 72 74 69 | 63 6c 65 0d 0d 6f 6e 20 |iousArti|cle..on |
|00002430| 47 6f 43 6f 6e 74 65 6e | 74 73 0d 6c 6f 63 6b 20 |GoConten|ts.lock |
|00002440| 73 63 72 65 65 6e 0d 67 | 6f 20 63 64 20 22 63 6f |screen.g|o cd "co|
|00002450| 6e 74 65 6e 74 73 22 0d | 75 6e 6c 6f 63 6b 20 73 |ntents".|unlock s|
|00002460| 63 72 65 65 6e 20 77 69 | 74 68 20 76 69 73 75 61 |creen wi|th visua|
|00002470| 6c 20 65 66 66 65 63 74 | 20 69 72 69 73 20 63 6c |l effect| iris cl|
|00002480| 6f 73 65 0d 65 6e 64 20 | 47 6f 43 6f 6e 74 65 6e |ose.end |GoConten|
|00002490| 74 73 0d 0d 2d 2d 09 4e | 41 4d 49 4e 47 20 74 68 |ts..--.N|AMING th|
|000024a0| 69 6e 67 73 20 28 67 65 | 74 74 69 6e 67 2f 73 65 |ings (ge|tting/se|
|000024b0| 74 74 69 6e 67 29 0d 0d | 66 75 6e 63 74 69 6f 6e |tting)..|function|
|000024c0| 20 53 61 6d 65 52 6f 6f | 74 44 69 73 6b 0d 67 65 | SameRoo|tDisk.ge|
|000024d0| 74 20 74 68 65 20 69 74 | 65 6d 44 65 6c 69 6d 69 |t the it|emDelimi|
|000024e0| 74 65 72 0d 73 65 74 20 | 74 68 65 20 69 74 65 6d |ter.set |the item|
|000024f0| 44 65 6c 69 6d 69 74 65 | 72 20 74 6f 20 71 75 6f |Delimite|r to quo|
|00002500| 74 65 0d 70 75 74 20 69 | 74 65 6d 20 32 20 6f 66 |te.put i|tem 2 of|
|00002510| 20 74 68 65 20 6c 6f 6e | 67 20 6e 61 6d 65 20 6f | the lon|g name o|
|00002520| 66 20 74 68 69 73 20 73 | 74 61 63 6b 20 69 6e 74 |f this s|tack int|
|00002530| 6f 20 66 75 6c 6c 50 61 | 74 68 4e 61 6d 65 0d 73 |o fullPa|thName.s|
|00002540| 65 74 20 74 68 65 20 69 | 74 65 6d 44 65 6c 69 6d |et the i|temDelim|
|00002550| 69 74 65 72 20 74 6f 20 | 22 3a 22 0d 70 75 74 20 |iter to |":".put |
|00002560| 69 74 65 6d 20 31 20 6f | 66 20 66 75 6c 6c 50 61 |item 1 o|f fullPa|
|00002570| 74 68 4e 61 6d 65 20 69 | 6e 74 6f 20 72 6f 6f 74 |thName i|nto root|
|00002580| 4e 61 6d 65 0d 70 75 74 | 20 6c 69 6e 65 20 31 20 |Name.put| line 1 |
|00002590| 6f 66 20 62 67 20 66 6c | 64 20 22 73 68 6f 77 6e |of bg fl|d "shown|
|000025a0| 6f 74 65 73 22 20 6f 66 | 20 63 64 20 22 63 6f 6e |otes" of| cd "con|
|000025b0| 74 65 6e 74 73 22 20 69 | 6e 74 6f 20 6f 6c 64 52 |tents" i|nto oldR|
|000025c0| 6f 6f 74 4e 61 6d 65 0d | 73 65 74 20 74 68 65 20 |ootName.|set the |
|000025d0| 69 74 65 6d 44 65 6c 69 | 6d 69 74 65 72 20 74 6f |itemDeli|miter to|
|000025e0| 20 69 74 0d 69 66 20 72 | 6f 6f 74 4e 61 6d 65 20 | it.if r|ootName |
|000025f0| 69 73 20 6e 6f 74 20 6f | 6c 64 52 6f 6f 74 4e 61 |is not o|ldRootNa|
|00002600| 6d 65 20 74 68 65 6e 0d | 70 75 74 20 72 6f 6f 74 |me then.|put root|
|00002610| 4e 61 6d 65 20 69 6e 74 | 6f 20 6c 69 6e 65 20 31 |Name int|o line 1|
|00002620| 20 6f 66 20 62 67 20 66 | 6c 64 20 22 73 68 6f 77 | of bg f|ld "show|
|00002630| 6e 6f 74 65 73 22 20 6f | 66 20 63 64 20 22 63 6f |notes" o|f cd "co|
|00002640| 6e 74 65 6e 74 73 22 0d | 72 65 74 75 72 6e 20 66 |ntents".|return f|
|00002650| 61 6c 73 65 0d 65 6c 73 | 65 20 72 65 74 75 72 6e |alse.els|e return|
|00002660| 20 74 72 75 65 0d 65 6e | 64 20 53 61 6d 65 52 6f | true.en|d SameRo|
|00002670| 6f 74 44 69 73 6b 0d 0d | 66 75 6e 63 74 69 6f 6e |otDisk..|function|
|00002680| 20 53 74 61 63 6b 4e 61 | 6d 65 0d 72 65 74 75 72 | StackNa|me.retur|
|00002690| 6e 20 74 68 65 20 73 68 | 6f 72 74 20 6e 61 6d 65 |n the sh|ort name|
|000026a0| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 0d 65 | of this| stack.e|
|000026b0| 6e 64 20 53 74 61 63 6b | 4e 61 6d 65 0d 0d 66 75 |nd Stack|Name..fu|
|000026c0| 6e 63 74 69 6f 6e 20 42 | 6f 6f 6b 4e 61 6d 65 20 |nction B|ookName |
|000026d0| 74 68 65 4e 61 6d 65 0d | 69 66 20 74 68 65 4e 61 |theName.|if theNa|
|000026e0| 6d 65 20 69 73 20 6e 6f | 74 20 65 6d 70 74 79 20 |me is no|t empty |
|000026f0| 74 68 65 6e 0d 72 65 70 | 65 61 74 20 77 69 74 68 |then.rep|eat with|
|00002700| 20 69 20 3d 20 31 20 74 | 6f 20 74 68 65 20 6e 75 | i = 1 t|o the nu|
|00002710| 6d 62 65 72 20 6f 66 20 | 62 67 73 0d 69 66 20 74 |mber of |bgs.if t|
|00002720| 68 65 72 65 20 69 73 20 | 6e 6f 74 20 61 20 62 67 |here is |not a bg|
|00002730| 20 66 6c 64 20 22 74 69 | 74 6c 65 22 20 6f 66 20 | fld "ti|tle" of |
|00002740| 63 64 20 31 20 6f 66 20 | 62 67 20 69 20 74 68 65 |cd 1 of |bg i the|
|00002750| 6e 20 6e 65 78 74 20 72 | 65 70 65 61 74 0d 70 75 |n next r|epeat.pu|
|00002760| 74 20 74 68 65 4e 61 6d | 65 20 69 6e 74 6f 20 62 |t theNam|e into b|
|00002770| 67 20 66 6c 64 20 22 74 | 69 74 6c 65 22 20 6f 66 |g fld "t|itle" of|
|00002780| 20 63 64 20 31 20 6f 66 | 20 62 67 20 69 0d 65 6e | cd 1 of| bg i.en|
|00002790| 64 20 72 65 70 65 61 74 | 0d 65 6e 64 20 69 66 0d |d repeat|.end if.|
|000027a0| 72 65 74 75 72 6e 20 62 | 67 20 66 6c 64 20 22 74 |return b|g fld "t|
|000027b0| 69 74 6c 65 22 20 6f 66 | 20 66 69 72 73 74 20 63 |itle" of| first c|
|000027c0| 61 72 64 0d 65 6e 64 20 | 42 6f 6f 6b 4e 61 6d 65 |ard.end |BookName|
|000027d0| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 41 75 74 68 6f |..functi|on Autho|
|000027e0| 72 4e 61 6d 65 20 74 68 | 65 4e 61 6d 65 0d 69 66 |rName th|eName.if|
|000027f0| 20 74 68 65 4e 61 6d 65 | 20 69 73 20 6e 6f 74 20 | theName| is not |
|00002800| 65 6d 70 74 79 20 74 68 | 65 6e 20 70 75 74 20 74 |empty th|en put t|
|00002810| 68 65 4e 61 6d 65 20 69 | 6e 74 6f 20 62 67 20 66 |heName i|nto bg f|
|00002820| 6c 64 20 22 61 75 74 68 | 6f 72 22 20 6f 66 20 63 |ld "auth|or" of c|
|00002830| 64 20 31 0d 72 65 74 75 | 72 6e 20 62 67 20 66 6c |d 1.retu|rn bg fl|
|00002840| 64 20 22 61 75 74 68 6f | 72 22 20 6f 66 20 63 64 |d "autho|r" of cd|
|00002850| 20 31 0d 65 6e 64 20 41 | 75 74 68 6f 72 4e 61 6d | 1.end A|uthorNam|
|00002860| 65 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 53 65 63 74 |e..funct|ion Sect|
|00002870| 69 6f 6e 4e 61 6d 65 20 | 74 68 65 4e 61 6d 65 2c |ionName |theName,|
|00002880| 74 68 65 43 61 72 64 0d | 69 66 20 74 68 65 43 61 |theCard.|if theCa|
|00002890| 72 64 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |rd is em|pty then|
|000028a0| 20 70 75 74 20 43 61 72 | 64 4e 75 6d 62 65 72 28 | put Car|dNumber(|
|000028b0| 29 20 69 6e 74 6f 20 74 | 68 65 43 61 72 64 0d 69 |) into t|heCard.i|
|000028c0| 66 20 74 68 65 72 65 20 | 69 73 20 6e 6f 74 20 61 |f there |is not a|
|000028d0| 20 62 67 20 66 6c 64 20 | 22 73 65 63 74 69 6f 6e | bg fld |"section|
|000028e0| 20 6e 61 6d 65 22 20 6f | 66 20 63 64 20 74 68 65 | name" o|f cd the|
|000028f0| 43 61 72 64 20 74 68 65 | 6e 20 72 65 74 75 72 6e |Card the|n return|
|00002900| 20 74 68 65 20 73 68 6f | 72 74 20 6e 61 6d 65 20 | the sho|rt name |
|00002910| 6f 66 20 63 61 72 64 20 | 74 68 65 43 61 72 64 0d |of card |theCard.|
|00002920| 69 66 20 74 68 65 4e 61 | 6d 65 20 69 73 20 6e 6f |if theNa|me is no|
|00002930| 74 20 65 6d 70 74 79 20 | 74 68 65 6e 20 70 75 74 |t empty |then put|
|00002940| 20 74 68 65 4e 61 6d 65 | 20 69 6e 74 6f 20 62 67 | theName| into bg|
|00002950| 20 66 6c 64 20 22 73 65 | 63 74 69 6f 6e 20 6e 61 | fld "se|ction na|
|00002960| 6d 65 22 20 6f 66 20 63 | 64 20 74 68 65 43 61 72 |me" of c|d theCar|
|00002970| 64 0d 72 65 74 75 72 6e | 20 62 67 20 66 6c 64 20 |d.return| bg fld |
|00002980| 22 73 65 63 74 69 6f 6e | 20 6e 61 6d 65 22 20 6f |"section| name" o|
|00002990| 66 20 63 61 72 64 20 74 | 68 65 43 61 72 64 0d 65 |f card t|heCard.e|
|000029a0| 6e 64 20 53 65 63 74 69 | 6f 6e 4e 61 6d 65 0d 0d |nd Secti|onName..|
|000029b0| 66 75 6e 63 74 69 6f 6e | 20 45 6e 64 4f 66 53 65 |function| EndOfSe|
|000029c0| 63 74 69 6f 6e 20 74 68 | 65 43 61 72 64 0d 69 66 |ction th|eCard.if|
|000029d0| 20 74 68 65 43 61 72 64 | 20 69 73 20 65 6d 70 74 | theCard| is empt|
|000029e0| 79 20 74 68 65 6e 20 70 | 75 74 20 43 61 72 64 4e |y then p|ut CardN|
|000029f0| 75 6d 62 65 72 28 29 20 | 69 6e 74 6f 20 74 68 65 |umber() |into the|
|00002a00| 43 61 72 64 0d 69 66 20 | 53 65 63 74 69 6f 6e 4e |Card.if |SectionN|
|00002a10| 61 6d 65 28 2c 74 68 65 | 43 61 72 64 29 20 69 73 |ame(,the|Card) is|
|00002a20| 20 6e 6f 74 20 53 65 63 | 74 69 6f 6e 4e 61 6d 65 | not Sec|tionName|
|00002a30| 28 2c 4e 65 78 74 50 61 | 67 65 28 74 68 65 43 61 |(,NextPa|ge(theCa|
|00002a40| 72 64 29 29 20 74 68 65 | 6e 0d 72 65 74 75 72 6e |rd)) the|n.return|
|00002a50| 20 74 72 75 65 0d 65 6c | 73 65 20 72 65 74 75 72 | true.el|se retur|
|00002a60| 6e 20 66 61 6c 73 65 0d | 65 6e 64 20 45 6e 64 4f |n false.|end EndO|
|00002a70| 66 53 65 63 74 69 6f 6e | 0d 0d 66 75 6e 63 74 69 |fSection|..functi|
|00002a80| 6f 6e 20 42 65 67 69 6e | 6e 69 6e 67 4f 66 53 65 |on Begin|ningOfSe|
|00002a90| 63 74 69 6f 6e 20 74 68 | 65 43 61 72 64 0d 69 66 |ction th|eCard.if|
|00002aa0| 20 74 68 65 43 61 72 64 | 20 69 73 20 65 6d 70 74 | theCard| is empt|
|00002ab0| 79 20 74 68 65 6e 20 70 | 75 74 20 43 61 72 64 4e |y then p|ut CardN|
|00002ac0| 75 6d 62 65 72 28 29 20 | 69 6e 74 6f 20 74 68 65 |umber() |into the|
|00002ad0| 43 61 72 64 0d 69 66 20 | 53 65 63 74 69 6f 6e 4e |Card.if |SectionN|
|00002ae0| 61 6d 65 28 2c 74 68 65 | 43 61 72 64 29 20 69 73 |ame(,the|Card) is|
|00002af0| 20 6e 6f 74 20 53 65 63 | 74 69 6f 6e 4e 61 6d 65 | not Sec|tionName|
|00002b00| 28 2c 50 72 65 76 50 61 | 67 65 28 74 68 65 43 61 |(,PrevPa|ge(theCa|
|00002b10| 72 64 29 29 20 74 68 65 | 6e 0d 72 65 74 75 72 6e |rd)) the|n.return|
|00002b20| 20 74 72 75 65 0d 65 6c | 73 65 20 72 65 74 75 72 | true.el|se retur|
|00002b30| 6e 20 66 61 6c 73 65 0d | 65 6e 64 20 42 65 67 69 |n false.|end Begi|
|00002b40| 6e 6e 69 6e 67 4f 66 53 | 65 63 74 69 6f 6e 0d 0d |nningOfS|ection..|
|00002b50| 66 75 6e 63 74 69 6f 6e | 20 43 61 72 64 4e 75 6d |function| CardNum|
|00002b60| 62 65 72 0d 72 65 74 75 | 72 6e 20 74 68 65 20 6e |ber.retu|rn the n|
|00002b70| 75 6d 62 65 72 20 6f 66 | 20 74 68 69 73 20 63 61 |umber of| this ca|
|00002b80| 72 64 0d 65 6e 64 20 43 | 61 72 64 4e 75 6d 62 65 |rd.end C|ardNumbe|
|00002b90| 72 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 50 61 67 65 |r..funct|ion Page|
|00002ba0| 4e 61 6d 65 20 74 68 65 | 4e 61 6d 65 2c 74 68 65 |Name the|Name,the|
|00002bb0| 43 61 72 64 0d 69 66 20 | 74 68 65 43 61 72 64 20 |Card.if |theCard |
|00002bc0| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 70 75 |is empty| then pu|
|00002bd0| 74 20 43 61 72 64 4e 75 | 6d 62 65 72 28 29 20 69 |t CardNu|mber() i|
|00002be0| 6e 74 6f 20 74 68 65 43 | 61 72 64 0d 69 66 20 74 |nto theC|ard.if t|
|00002bf0| 68 65 72 65 20 69 73 20 | 6e 6f 74 20 61 20 62 67 |here is |not a bg|
|00002c00| 20 66 6c 64 20 22 70 61 | 67 65 20 6e 61 6d 65 22 | fld "pa|ge name"|
|00002c10| 20 6f 66 20 63 61 72 64 | 20 74 68 65 43 61 72 64 | of card| theCard|
|00002c20| 20 74 68 65 6e 20 72 65 | 74 75 72 6e 20 65 6d 70 | then re|turn emp|
|00002c30| 74 79 0d 69 66 20 74 68 | 65 4e 61 6d 65 20 69 73 |ty.if th|eName is|
|00002c40| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 20 | not emp|ty then |
|00002c50| 70 75 74 20 74 68 65 4e | 61 6d 65 20 69 6e 74 6f |put theN|ame into|
|00002c60| 20 62 67 20 66 6c 64 20 | 22 70 61 67 65 20 6e 61 | bg fld |"page na|
|00002c70| 6d 65 22 20 6f 66 20 63 | 61 72 64 20 74 68 65 43 |me" of c|ard theC|
|00002c80| 61 72 64 0d 72 65 74 75 | 72 6e 20 62 67 20 66 6c |ard.retu|rn bg fl|
|00002c90| 64 20 22 70 61 67 65 20 | 6e 61 6d 65 22 20 6f 66 |d "page |name" of|
|00002ca0| 20 63 61 72 64 20 74 68 | 65 43 61 72 64 0d 65 6e | card th|eCard.en|
|00002cb0| 64 20 50 61 67 65 4e 61 | 6d 65 0d 0d 66 75 6e 63 |d PageNa|me..func|
|00002cc0| 74 69 6f 6e 20 50 61 67 | 65 4e 75 6d 62 65 72 20 |tion Pag|eNumber |
|00002cd0| 74 68 65 4e 75 6d 62 65 | 72 2c 74 68 65 43 61 72 |theNumbe|r,theCar|
|00002ce0| 64 0d 69 66 20 74 68 65 | 43 61 72 64 20 69 73 20 |d.if the|Card is |
|00002cf0| 65 6d 70 74 79 20 74 68 | 65 6e 20 70 75 74 20 43 |empty th|en put C|
|00002d00| 61 72 64 4e 75 6d 62 65 | 72 28 29 20 69 6e 74 6f |ardNumbe|r() into|
|00002d10| 20 74 68 65 43 61 72 64 | 0d 69 66 20 74 68 65 72 | theCard|.if ther|
|00002d20| 65 20 69 73 20 6e 6f 74 | 20 61 20 62 67 20 66 6c |e is not| a bg fl|
|00002d30| 64 20 22 70 61 67 65 20 | 6e 75 6d 62 65 72 22 20 |d "page |number" |
|00002d40| 6f 66 20 63 61 72 64 20 | 74 68 65 43 61 72 64 20 |of card |theCard |
|00002d50| 74 68 65 6e 20 72 65 74 | 75 72 6e 20 65 6d 70 74 |then ret|urn empt|
|00002d60| 79 0d 0d 69 66 20 74 68 | 65 4e 75 6d 62 65 72 20 |y..if th|eNumber |
|00002d70| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 0d 74 68 65 |is not e|mpty.the|
|00002d80| 6e 20 70 75 74 20 74 68 | 65 4e 75 6d 62 65 72 20 |n put th|eNumber |
|00002d90| 69 6e 74 6f 20 62 67 20 | 66 6c 64 20 22 70 61 67 |into bg |fld "pag|
|00002da0| 65 20 6e 75 6d 62 65 72 | 22 20 6f 66 20 63 61 72 |e number|" of car|
|00002db0| 64 20 74 68 65 43 61 72 | 64 0d 72 65 74 75 72 6e |d theCar|d.return|
|00002dc0| 20 77 6f 72 64 20 31 20 | 6f 66 20 62 67 20 66 6c | word 1 |of bg fl|
|00002dd0| 64 20 22 70 61 67 65 20 | 6e 75 6d 62 65 72 22 20 |d "page |number" |
|00002de0| 6f 66 20 63 61 72 64 20 | 74 68 65 43 61 72 64 0d |of card |theCard.|
|00002df0| 65 6e 64 20 50 61 67 65 | 4e 75 6d 62 65 72 0d 0d |end Page|Number..|
|00002e00| 6f 6e 20 46 69 78 50 61 | 67 65 4e 75 6d 62 65 72 |on FixPa|geNumber|
|00002e10| 73 0d 67 6c 6f 62 61 6c | 20 67 50 61 67 65 4e 75 |s.global| gPageNu|
|00002e20| 6d 62 65 72 73 41 72 65 | 44 69 72 74 79 0d 70 75 |mbersAre|Dirty.pu|
|00002e30| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 67 50 61 |t empty |into gPa|
|00002e40| 67 65 4e 75 6d 62 65 72 | 73 41 72 65 44 69 72 74 |geNumber|sAreDirt|
|00002e50| 79 0d 70 75 74 20 74 68 | 65 20 6e 75 6d 62 65 72 |y.put th|e number|
|00002e60| 20 6f 66 20 63 61 72 64 | 73 20 6f 66 20 62 67 20 | of card|s of bg |
|00002e70| 22 74 65 78 74 22 20 69 | 6e 74 6f 20 6c 61 73 74 |"text" i|nto last|
|00002e80| 50 61 67 65 0d 0d 70 75 | 73 68 20 63 61 72 64 0d |Page..pu|sh card.|
|00002e90| 73 65 74 20 74 68 65 20 | 6c 6f 63 6b 73 63 72 65 |set the |lockscre|
|00002ea0| 65 6e 20 74 6f 20 74 72 | 75 65 0d 73 65 74 20 74 |en to tr|ue.set t|
|00002eb0| 68 65 20 6c 6f 63 6b 6d | 65 73 73 61 67 65 73 20 |he lockm|essages |
|00002ec0| 74 6f 20 74 72 75 65 0d | 73 65 74 20 74 68 65 20 |to true.|set the |
|00002ed0| 6c 6f 63 6b 72 65 63 65 | 6e 74 20 74 6f 20 74 72 |lockrece|nt to tr|
|00002ee0| 75 65 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 69 |ue.repea|t with i|
|00002ef0| 20 3d 20 31 20 74 6f 20 | 6c 61 73 74 50 61 67 65 | = 1 to |lastPage|
|00002f00| 0d 73 65 74 20 74 68 65 | 20 63 75 72 73 6f 72 20 |.set the| cursor |
|00002f10| 74 6f 20 62 75 73 79 0d | 70 75 74 20 69 0d 67 6f |to busy.|put i.go|
|00002f20| 20 63 64 20 69 20 6f 66 | 20 62 67 20 22 74 65 78 | cd i of| bg "tex|
|00002f30| 74 22 0d 67 65 74 20 50 | 61 67 65 4e 75 6d 62 65 |t".get P|ageNumbe|
|00002f40| 72 28 69 26 26 22 6f 66 | 22 26 26 6c 61 73 74 50 |r(i&&"of|"&&lastP|
|00002f50| 61 67 65 29 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |age).end| repeat.|
|00002f60| 70 6f 70 20 63 61 72 64 | 0d 65 6e 64 20 46 69 78 |pop card|.end Fix|
|00002f70| 50 61 67 65 4e 75 6d 62 | 65 72 73 0d 0d 66 75 6e |PageNumb|ers..fun|
|00002f80| 63 74 69 6f 6e 20 50 72 | 65 76 50 61 67 65 20 74 |ction Pr|evPage t|
|00002f90| 68 65 50 61 67 65 0d 69 | 66 20 74 68 65 50 61 67 |hePage.i|f thePag|
|00002fa0| 65 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |e is emp|ty then |
|00002fb0| 72 65 74 75 72 6e 20 74 | 68 65 20 6e 75 6d 62 65 |return t|he numbe|
|00002fc0| 72 20 6f 66 20 70 72 65 | 76 69 6f 75 73 20 63 61 |r of pre|vious ca|
|00002fd0| 72 64 0d 73 75 62 74 72 | 61 63 74 20 31 20 66 72 |rd.subtr|act 1 fr|
|00002fe0| 6f 6d 20 74 68 65 50 61 | 67 65 0d 69 66 20 74 68 |om thePa|ge.if th|
|00002ff0| 65 50 61 67 65 20 3c 20 | 31 20 74 68 65 6e 0d 72 |ePage < |1 then.r|
|00003000| 65 74 75 72 6e 20 74 68 | 65 20 6e 75 6d 62 65 72 |eturn th|e number|
|00003010| 20 6f 66 20 6c 61 73 74 | 20 63 61 72 64 0d 65 6c | of last| card.el|
|00003020| 73 65 20 72 65 74 75 72 | 6e 20 74 68 65 50 61 67 |se retur|n thePag|
|00003030| 65 0d 65 6e 64 20 50 72 | 65 76 50 61 67 65 0d 0d |e.end Pr|evPage..|
|00003040| 66 75 6e 63 74 69 6f 6e | 20 4e 65 78 74 50 61 67 |function| NextPag|
|00003050| 65 20 74 68 65 50 61 67 | 65 0d 69 66 20 74 68 65 |e thePag|e.if the|
|00003060| 50 61 67 65 20 69 73 20 | 65 6d 70 74 79 20 74 68 |Page is |empty th|
|00003070| 65 6e 20 72 65 74 75 72 | 6e 20 74 68 65 20 6e 75 |en retur|n the nu|
|00003080| 6d 62 65 72 20 6f 66 20 | 6e 65 78 74 20 63 61 72 |mber of |next car|
|00003090| 64 0d 61 64 64 20 31 20 | 74 6f 20 74 68 65 50 61 |d.add 1 |to thePa|
|000030a0| 67 65 0d 69 66 20 74 68 | 65 50 61 67 65 20 3e 20 |ge.if th|ePage > |
|000030b0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 63 61 |the numb|er of ca|
|000030c0| 72 64 73 20 74 68 65 6e | 0d 72 65 74 75 72 6e 20 |rds then|.return |
|000030d0| 31 0d 65 6c 73 65 20 72 | 65 74 75 72 6e 20 74 68 |1.else r|eturn th|
|000030e0| 65 50 61 67 65 0d 65 6e | 64 20 4e 65 78 74 50 61 |ePage.en|d NextPa|
|000030f0| 67 65 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 49 73 46 |ge..func|tion IsF|
|00003100| 6c 6f 77 46 69 65 6c 64 | 20 74 68 65 46 69 65 6c |lowField| theFiel|
|00003110| 64 2c 62 67 46 6c 64 2c | 74 68 65 43 61 72 64 0d |d,bgFld,|theCard.|
|00003120| 69 66 20 62 67 46 6c 64 | 20 69 73 20 65 6d 70 74 |if bgFld| is empt|
|00003130| 79 20 74 68 65 6e 20 70 | 75 74 20 22 62 67 22 20 |y then p|ut "bg" |
|00003140| 69 6e 74 6f 20 62 67 46 | 6c 64 0d 69 66 20 74 68 |into bgF|ld.if th|
|00003150| 65 43 61 72 64 20 69 73 | 20 65 6d 70 74 79 20 74 |eCard is| empty t|
|00003160| 68 65 6e 20 70 75 74 20 | 74 68 65 20 6e 75 6d 62 |hen put |the numb|
|00003170| 65 72 20 6f 66 20 74 68 | 69 73 20 63 61 72 64 20 |er of th|is card |
|00003180| 69 6e 74 6f 20 74 68 65 | 43 61 72 64 0d 0d 69 66 |into the|Card..if|
|00003190| 20 74 68 65 46 69 65 6c | 64 20 69 73 20 61 20 6e | theFiel|d is a n|
|000031a0| 75 6d 62 65 72 0d 74 68 | 65 6e 20 70 75 74 20 74 |umber.th|en put t|
|000031b0| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |he short| name of|
|000031c0| 20 28 62 67 46 6c 64 26 | 26 22 66 6c 64 22 26 26 | (bgFld&|&"fld"&&|
|000031d0| 74 68 65 46 69 65 6c 64 | 26 26 22 6f 66 20 63 61 |theField|&&"of ca|
|000031e0| 72 64 22 26 26 74 68 65 | 43 61 72 64 29 20 69 6e |rd"&&the|Card) in|
|000031f0| 74 6f 20 74 68 65 46 69 | 65 6c 64 0d 72 65 74 75 |to theFi|eld.retu|
|00003200| 72 6e 20 74 68 65 46 69 | 65 6c 64 20 63 6f 6e 74 |rn theFi|eld cont|
|00003210| 61 69 6e 73 20 22 66 6c | 6f 77 22 0d 65 6e 64 20 |ains "fl|ow".end |
|00003220| 49 73 46 6c 6f 77 46 69 | 65 6c 64 0d 0d 2d 2d 20 |IsFlowFi|eld..-- |
|00003230| 2d 2d 09 43 4f 4e 54 45 | 4e 54 53 20 74 68 69 6e |--.CONTE|NTS thin|
|00003240| 67 73 0d 2d 2d 20 66 75 | 6e 63 74 69 6f 6e 20 43 |gs.-- fu|nction C|
|00003250| 6f 6e 74 65 6e 74 73 4c | 69 73 74 0d 2d 2d 20 72 |ontentsL|ist.-- r|
|00003260| 65 74 75 72 6e 20 62 67 | 20 66 6c 64 20 22 63 6f |eturn bg| fld "co|
|00003270| 6e 74 65 6e 74 73 22 20 | 6f 66 20 63 64 20 22 63 |ntents" |of cd "c|
|00003280| 6f 6e 74 65 6e 74 73 22 | 0d 2d 2d 20 65 6e 64 20 |ontents"|.-- end |
|00003290| 43 6f 6e 74 65 6e 74 73 | 4c 69 73 74 0d 0d 2d 2d |Contents|List..--|
|000032a0| 20 66 75 6e 63 74 69 6f | 6e 20 43 6f 6e 74 65 6e | functio|n Conten|
|000032b0| 74 73 46 69 65 6c 64 0d | 2d 2d 20 72 65 74 75 72 |tsField.|-- retur|
|000032c0| 6e 20 22 62 67 20 66 6c | 64 20 22 26 71 75 6f 74 |n "bg fl|d "&quot|
|000032d0| 65 26 22 63 6f 6e 74 65 | 6e 74 73 22 26 71 75 6f |e&"conte|nts"&quo|
|000032e0| 74 65 26 22 20 6f 66 20 | 63 64 20 22 26 71 75 6f |te&" of |cd "&quo|
|000032f0| 74 65 26 22 63 6f 6e 74 | 65 6e 74 73 22 26 71 75 |te&"cont|ents"&qu|
|00003300| 6f 74 65 0d 2d 2d 20 65 | 6e 64 20 43 6f 6e 74 65 |ote.-- e|nd Conte|
|00003310| 6e 74 73 46 69 65 6c 64 | 0d 0d 2d 2d 20 6f 6e 20 |ntsField|..-- on |
|00003320| 43 6f 6e 74 65 6e 74 73 | 43 6c 69 63 6b 20 77 68 |Contents|Click wh|
|00003330| 69 63 68 4c 69 6e 65 0d | 2d 2d 20 69 66 20 77 68 |ichLine.|-- if wh|
|00003340| 69 63 68 4c 69 6e 65 20 | 69 73 20 65 6d 70 74 79 |ichLine |is empty|
|00003350| 20 74 68 65 6e 20 70 75 | 74 20 77 6f 72 64 20 32 | then pu|t word 2|
|00003360| 20 6f 66 20 74 68 65 20 | 63 6c 69 63 6b 6c 69 6e | of the |clicklin|
|00003370| 65 20 69 6e 74 6f 20 77 | 68 69 63 68 4c 69 6e 65 |e into w|hichLine|
|00003380| 0d 2d 2d 20 70 75 74 20 | 53 74 72 69 70 53 70 61 |.-- put |StripSpa|
|00003390| 63 65 73 28 6c 69 6e 65 | 20 77 68 69 63 68 4c 69 |ces(line| whichLi|
|000033a0| 6e 65 20 6f 66 20 43 6f | 6e 74 65 6e 74 73 4c 69 |ne of Co|ntentsLi|
|000033b0| 73 74 28 29 29 20 69 6e | 74 6f 20 74 68 65 43 61 |st()) in|to theCa|
|000033c0| 72 64 0d 2d 2d 20 73 65 | 74 20 74 68 65 20 74 65 |rd.-- se|t the te|
|000033d0| 78 74 53 74 79 6c 65 20 | 6f 66 20 6c 69 6e 65 20 |xtStyle |of line |
|000033e0| 31 20 74 6f 20 28 74 68 | 65 20 6e 75 6d 62 65 72 |1 to (th|e number|
|000033f0| 20 6f 66 20 6c 69 6e 65 | 73 20 6f 66 20 74 61 72 | of line|s of tar|
|00003400| 67 65 74 29 20 6f 66 20 | 74 68 65 20 74 61 72 67 |get) of |the targ|
|00003410| 65 74 20 74 6f 20 70 6c | 61 69 6e 0d 2d 2d 20 73 |et to pl|ain.-- s|
|00003420| 65 74 20 74 68 65 20 74 | 65 78 74 53 74 79 6c 65 |et the t|extStyle|
|00003430| 20 6f 66 20 6c 69 6e 65 | 20 77 68 69 63 68 4c 69 | of line| whichLi|
|00003440| 6e 65 20 6f 66 20 74 68 | 65 20 74 61 72 67 65 74 |ne of th|e target|
|00003450| 20 74 6f 20 22 75 6e 64 | 65 72 6c 69 6e 65 22 0d | to "und|erline".|
|00003460| 2d 2d 20 47 6f 50 61 67 | 65 20 74 68 65 43 61 72 |-- GoPag|e theCar|
|00003470| 64 2c 20 22 7a 6f 6f 6d | 20 6f 75 74 22 0d 2d 2d |d, "zoom| out".--|
|00003480| 20 65 6e 64 20 43 6f 6e | 74 65 6e 74 73 43 6c 69 | end Con|tentsCli|
|00003490| 63 6b 0d 0d 2d 2d 20 6f | 6e 20 4e 65 78 74 43 6c |ck..-- o|n NextCl|
|000034a0| 69 63 6b 0d 2d 2d 20 47 | 6f 4e 65 78 74 0d 2d 2d |ick.-- G|oNext.--|
|000034b0| 20 65 6e 64 20 4e 65 78 | 74 43 6c 69 63 6b 0d 0d | end Nex|tClick..|
|000034c0| 2d 2d 20 6f 6e 20 50 72 | 65 76 43 6c 69 63 6b 0d |-- on Pr|evClick.|
|000034d0| 2d 2d 20 47 6f 50 72 65 | 76 0d 2d 2d 20 65 6e 64 |-- GoPre|v.-- end|
|000034e0| 20 50 72 65 76 43 6c 69 | 63 6b 0d 0d 2d 2d 0d 0d | PrevCli|ck..--..|
|000034f0| 66 75 6e 63 74 69 6f 6e | 20 53 68 6f 77 69 6e 67 |function| Showing|
|00003500| 4e 6f 74 65 73 0d 72 65 | 74 75 72 6e 20 6c 69 6e |Notes.re|turn lin|
|00003510| 65 20 32 20 6f 66 20 62 | 67 20 66 6c 64 20 22 73 |e 2 of b|g fld "s|
|00003520| 68 6f 77 6e 6f 74 65 73 | 22 20 6f 66 20 63 64 20 |hownotes|" of cd |
|00003530| 22 63 6f 6e 74 65 6e 74 | 73 22 20 69 73 20 6e 6f |"content|s" is no|
|00003540| 74 20 22 66 61 6c 73 65 | 22 0d 65 6e 64 20 53 68 |t "false|".end Sh|
|00003550| 6f 77 69 6e 67 4e 6f 74 | 65 73 0d 0d 6f 6e 20 53 |owingNot|es..on S|
|00003560| 68 6f 77 4e 6f 74 65 73 | 20 74 68 65 53 74 61 74 |howNotes| theStat|
|00003570| 65 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 6e 6f |e.if the|re is no|
|00003580| 74 20 61 20 62 67 20 62 | 74 6e 20 22 53 68 6f 77 |t a bg b|tn "Show|
|00003590| 4e 6f 74 65 73 22 20 74 | 68 65 6e 20 65 78 69 74 |Notes" t|hen exit|
|000035a0| 20 53 68 6f 77 4e 6f 74 | 65 73 0d 69 66 20 74 68 | ShowNot|es.if th|
|000035b0| 65 53 74 61 74 65 20 69 | 73 20 6e 6f 74 20 66 61 |eState i|s not fa|
|000035c0| 6c 73 65 20 74 68 65 6e | 20 70 75 74 20 74 72 75 |lse then| put tru|
|000035d0| 65 20 69 6e 74 6f 20 74 | 68 65 53 74 61 74 65 0d |e into t|heState.|
|000035e0| 0d 70 75 74 20 74 68 65 | 20 72 65 63 74 20 6f 66 |.put the| rect of|
|000035f0| 20 63 61 72 64 20 77 69 | 6e 64 6f 77 20 69 6e 74 | card wi|ndow int|
|00003600| 6f 20 74 68 65 52 65 63 | 74 0d 69 66 20 74 68 65 |o theRec|t.if the|
|00003610| 53 74 61 74 65 20 74 68 | 65 6e 0d 68 69 64 65 20 |State th|en.hide |
|00003620| 62 67 20 62 74 6e 20 22 | 53 68 6f 77 4e 6f 74 65 |bg btn "|ShowNote|
|00003630| 73 22 0d 73 68 6f 77 20 | 62 67 20 62 74 6e 20 22 |s".show |bg btn "|
|00003640| 48 69 64 65 4e 6f 74 65 | 73 22 0d 67 65 74 20 69 |HideNote|s".get i|
|00003650| 74 65 6d 20 31 20 6f 66 | 20 74 68 65 52 65 63 74 |tem 1 of| theRect|
|00003660| 20 2b 20 35 31 32 0d 69 | 66 20 69 74 20 3e 20 69 | + 512.i|f it > i|
|00003670| 74 65 6d 20 33 20 6f 66 | 20 74 68 65 20 73 63 72 |tem 3 of| the scr|
|00003680| 65 65 6e 52 65 63 74 20 | 74 68 65 6e 0d 70 75 74 |eenRect |then.put|
|00003690| 20 69 74 65 6d 20 33 20 | 6f 66 20 74 68 65 20 73 | item 3 |of the s|
|000036a0| 63 72 65 65 6e 52 65 63 | 74 20 69 6e 74 6f 20 69 |creenRec|t into i|
|000036b0| 74 65 6d 20 33 20 6f 66 | 20 74 68 65 52 65 63 74 |tem 3 of| theRect|
|000036c0| 0d 70 75 74 20 69 74 65 | 6d 20 33 20 6f 66 20 74 |.put ite|m 3 of t|
|000036d0| 68 65 52 65 63 74 20 2d | 20 35 31 32 20 69 6e 74 |heRect -| 512 int|
|000036e0| 6f 20 69 74 65 6d 20 31 | 20 6f 66 20 74 68 65 52 |o item 1| of theR|
|000036f0| 65 63 74 0d 65 6c 73 65 | 20 70 75 74 20 69 74 20 |ect.else| put it |
|00003700| 69 6e 74 6f 20 69 74 65 | 6d 20 33 20 6f 66 20 74 |into ite|m 3 of t|
|00003710| 68 65 52 65 63 74 0d 69 | 66 20 74 68 65 72 65 20 |heRect.i|f there |
|00003720| 69 73 20 61 20 6d 65 6e | 75 49 74 65 6d 20 22 53 |is a men|uItem "S|
|00003730| 68 6f 77 20 4e 6f 74 65 | 73 22 20 6f 66 20 6d 65 |how Note|s" of me|
|00003740| 6e 75 20 22 45 64 69 74 | 22 0d 74 68 65 6e 20 73 |nu "Edit|".then s|
|00003750| 65 74 20 74 68 65 20 63 | 68 65 63 6b 6d 61 72 6b |et the c|heckmark|
|00003760| 20 6f 66 20 6d 65 6e 75 | 49 74 65 6d 20 22 53 68 | of menu|Item "Sh|
|00003770| 6f 77 20 4e 6f 74 65 73 | 22 20 6f 66 20 6d 65 6e |ow Notes|" of men|
|00003780| 75 20 22 45 64 69 74 22 | 20 74 6f 20 74 72 75 65 |u "Edit"| to true|
|00003790| 0d 70 75 74 20 74 72 75 | 65 20 69 6e 74 6f 20 6c |.put tru|e into l|
|000037a0| 69 6e 65 20 32 20 6f 66 | 20 62 67 20 66 6c 64 20 |ine 2 of| bg fld |
|000037b0| 22 73 68 6f 77 6e 6f 74 | 65 73 22 20 6f 66 20 63 |"shownot|es" of c|
|000037c0| 64 20 22 63 6f 6e 74 65 | 6e 74 73 22 0d 65 6c 73 |d "conte|nts".els|
|000037d0| 65 0d 68 69 64 65 20 62 | 67 20 62 74 6e 20 22 48 |e.hide b|g btn "H|
|000037e0| 69 64 65 4e 6f 74 65 73 | 22 0d 67 65 74 20 69 74 |ideNotes|".get it|
|000037f0| 65 6d 20 31 20 6f 66 20 | 74 68 65 52 65 63 74 20 |em 1 of |theRect |
|00003800| 2b 20 33 35 32 0d 69 66 | 20 69 74 20 3e 20 69 74 |+ 352.if| it > it|
|00003810| 65 6d 20 33 20 6f 66 20 | 74 68 65 20 73 63 72 65 |em 3 of |the scre|
|00003820| 65 6e 52 65 63 74 20 74 | 68 65 6e 0d 70 75 74 20 |enRect t|hen.put |
|00003830| 69 74 65 6d 20 33 20 6f | 66 20 74 68 65 20 73 63 |item 3 o|f the sc|
|00003840| 72 65 65 6e 52 65 63 74 | 20 69 6e 74 6f 20 69 74 |reenRect| into it|
|00003850| 65 6d 20 33 20 6f 66 20 | 74 68 65 52 65 63 74 0d |em 3 of |theRect.|
|00003860| 70 75 74 20 69 74 65 6d | 20 33 20 6f 66 20 74 68 |put item| 3 of th|
|00003870| 65 52 65 63 74 20 2d 20 | 33 35 32 20 69 6e 74 6f |eRect - |352 into|
|00003880| 20 69 74 65 6d 20 31 20 | 6f 66 20 74 68 65 52 65 | item 1 |of theRe|
|00003890| 63 74 0d 65 6c 73 65 20 | 70 75 74 20 69 74 20 69 |ct.else |put it i|
|000038a0| 6e 74 6f 20 69 74 65 6d | 20 33 20 6f 66 20 74 68 |nto item| 3 of th|
|000038b0| 65 52 65 63 74 0d 73 68 | 6f 77 20 62 67 20 62 74 |eRect.sh|ow bg bt|
|000038c0| 6e 20 22 53 68 6f 77 4e | 6f 74 65 73 22 0d 69 66 |n "ShowN|otes".if|
|000038d0| 20 74 68 65 72 65 20 69 | 73 20 61 20 6d 65 6e 75 | there i|s a menu|
|000038e0| 49 74 65 6d 20 22 53 68 | 6f 77 20 4e 6f 74 65 73 |Item "Sh|ow Notes|
|000038f0| 22 20 6f 66 20 6d 65 6e | 75 20 22 45 64 69 74 22 |" of men|u "Edit"|
|00003900| 0d 74 68 65 6e 20 73 65 | 74 20 74 68 65 20 63 68 |.then se|t the ch|
|00003910| 65 63 6b 6d 61 72 6b 20 | 6f 66 20 6d 65 6e 75 49 |eckmark |of menuI|
|00003920| 74 65 6d 20 22 53 68 6f | 77 20 4e 6f 74 65 73 22 |tem "Sho|w Notes"|
|00003930| 20 6f 66 20 6d 65 6e 75 | 20 22 45 64 69 74 22 20 | of menu| "Edit" |
|00003940| 74 6f 20 66 61 6c 73 65 | 0d 70 75 74 20 66 61 6c |to false|.put fal|
|00003950| 73 65 20 69 6e 74 6f 20 | 6c 69 6e 65 20 32 20 6f |se into |line 2 o|
|00003960| 66 20 62 67 20 66 6c 64 | 20 22 73 68 6f 77 6e 6f |f bg fld| "showno|
|00003970| 74 65 73 22 20 6f 66 20 | 63 64 20 22 63 6f 6e 74 |tes" of |cd "cont|
|00003980| 65 6e 74 73 22 0d 65 6e | 64 20 69 66 0d 69 66 20 |ents".en|d if.if |
|00003990| 69 74 65 6d 20 34 20 6f | 66 20 74 68 65 20 73 63 |item 4 o|f the sc|
|000039a0| 72 65 65 6e 52 65 63 74 | 20 3c 20 33 34 33 20 74 |reenRect| < 343 t|
|000039b0| 68 65 6e 0d 70 75 74 20 | 32 32 20 69 6e 74 6f 20 |hen.put |22 into |
|000039c0| 69 74 65 6d 20 32 20 6f | 66 20 74 68 65 52 65 63 |item 2 o|f theRec|
|000039d0| 74 0d 70 75 74 20 33 34 | 32 20 69 6e 74 6f 20 69 |t.put 34|2 into i|
|000039e0| 74 65 6d 20 34 20 6f 66 | 20 74 68 65 52 65 63 74 |tem 4 of| theRect|
|000039f0| 0d 65 6e 64 20 69 66 0d | 73 65 74 20 74 68 65 20 |.end if.|set the |
|00003a00| 72 65 63 74 20 6f 66 20 | 63 61 72 64 20 77 69 6e |rect of |card win|
|00003a10| 64 6f 77 20 74 6f 20 74 | 68 65 52 65 63 74 0d 65 |dow to t|heRect.e|
|00003a20| 6e 64 20 53 68 6f 77 4e | 6f 74 65 73 0d 0d 6f 6e |nd ShowN|otes..on|
|00003a30| 20 48 69 64 65 4e 6f 74 | 65 73 0d 53 68 6f 77 4e | HideNot|es.ShowN|
|00003a40| 6f 74 65 73 20 66 61 6c | 73 65 0d 65 6e 64 20 48 |otes fal|se.end H|
|00003a50| 69 64 65 4e 6f 74 65 73 | 0d 0d 6f 6e 20 41 75 74 |ideNotes|..on Aut|
|00003a60| 6f 42 6f 6f 6b 4d 61 72 | 6b 0d 6c 6f 63 6b 20 73 |oBookMar|k.lock s|
|00003a70| 63 72 65 65 6e 0d 67 6f | 20 74 6f 20 63 61 72 64 |creen.go| to card|
|00003a80| 20 28 62 67 20 66 6c 64 | 20 22 70 61 67 65 22 20 | (bg fld| "page" |
|00003a90| 6f 66 20 63 64 20 22 63 | 6f 6e 74 65 6e 74 73 22 |of cd "c|ontents"|
|00003aa0| 29 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 20 |).unlock| screen |
|00003ab0| 77 69 74 68 20 76 69 73 | 75 61 6c 20 65 66 66 65 |with vis|ual effe|
|00003ac0| 63 74 20 7a 6f 6f 6d 20 | 6f 70 65 6e 0d 65 6e 64 |ct zoom |open.end|
|00003ad0| 20 41 75 74 6f 42 6f 6f | 6b 4d 61 72 6b 0d 0d 6f | AutoBoo|kMark..o|
|00003ae0| 6e 20 53 68 6f 77 42 6f | 6f 6b 4d 61 72 6b 0d 69 |n ShowBo|okMark.i|
|00003af0| 66 20 74 68 65 72 65 20 | 69 73 20 6e 6f 74 20 61 |f there |is not a|
|00003b00| 20 62 67 20 62 74 6e 20 | 22 42 6f 6f 6b 4d 61 72 | bg btn |"BookMar|
|00003b10| 6b 22 20 74 68 65 6e 20 | 65 78 69 74 20 53 68 6f |k" then |exit Sho|
|00003b20| 77 42 6f 6f 6b 4d 61 72 | 6b 0d 69 66 20 74 68 65 |wBookMar|k.if the|
|00003b30| 20 6d 61 72 6b 65 64 20 | 6f 66 20 74 68 69 73 20 | marked |of this |
|00003b40| 63 61 72 64 20 74 68 65 | 6e 0d 73 65 74 20 74 68 |card the|n.set th|
|00003b50| 65 20 69 63 6f 6e 20 6f | 66 20 62 67 20 62 74 6e |e icon o|f bg btn|
|00003b60| 20 22 42 6f 6f 6b 4d 61 | 72 6b 22 20 74 6f 20 4d | "BookMa|rk" to M|
|00003b70| 61 72 6b 65 64 42 6f 6f | 6b 0d 69 66 20 74 68 65 |arkedBoo|k.if the|
|00003b80| 72 65 20 69 73 20 61 20 | 6d 65 6e 75 49 74 65 6d |re is a |menuItem|
|00003b90| 20 22 53 65 74 20 42 6f | 6f 6b 6d 61 72 6b 22 20 | "Set Bo|okmark" |
|00003ba0| 6f 66 20 6d 65 6e 75 20 | 22 45 64 69 74 22 20 74 |of menu |"Edit" t|
|00003bb0| 68 65 6e 0d 73 65 74 20 | 74 68 65 20 6e 61 6d 65 |hen.set |the name|
|00003bc0| 20 6f 66 20 6d 65 6e 75 | 49 74 65 6d 20 22 53 65 | of menu|Item "Se|
|00003bd0| 74 20 42 6f 6f 6b 6d 61 | 72 6b 22 20 6f 66 20 6d |t Bookma|rk" of m|
|00003be0| 65 6e 75 20 22 45 64 69 | 74 22 20 74 6f 20 22 43 |enu "Edi|t" to "C|
|00003bf0| 6c 65 61 72 20 42 6f 6f | 6b 6d 61 72 6b 22 0d 65 |lear Boo|kmark".e|
|00003c00| 6e 64 20 69 66 0d 65 6c | 73 65 0d 73 65 74 20 74 |nd if.el|se.set t|
|00003c10| 68 65 20 69 63 6f 6e 20 | 6f 66 20 62 67 20 62 74 |he icon |of bg bt|
|00003c20| 6e 20 22 42 6f 6f 6b 4d | 61 72 6b 22 20 74 6f 20 |n "BookM|ark" to |
|00003c30| 55 6e 4d 61 72 6b 65 64 | 42 6f 6f 6b 0d 69 66 20 |UnMarked|Book.if |
|00003c40| 74 68 65 72 65 20 69 73 | 20 61 20 6d 65 6e 75 49 |there is| a menuI|
|00003c50| 74 65 6d 20 22 43 6c 65 | 61 72 20 42 6f 6f 6b 6d |tem "Cle|ar Bookm|
|00003c60| 61 72 6b 22 20 6f 66 20 | 6d 65 6e 75 20 22 45 64 |ark" of |menu "Ed|
|00003c70| 69 74 22 20 74 68 65 6e | 0d 73 65 74 20 74 68 65 |it" then|.set the|
|00003c80| 20 6e 61 6d 65 20 6f 66 | 20 6d 65 6e 75 49 74 65 | name of| menuIte|
|00003c90| 6d 20 22 43 6c 65 61 72 | 20 42 6f 6f 6b 6d 61 72 |m "Clear| Bookmar|
|00003ca0| 6b 22 20 6f 66 20 6d 65 | 6e 75 20 22 45 64 69 74 |k" of me|nu "Edit|
|00003cb0| 22 20 74 6f 20 22 53 65 | 74 20 42 6f 6f 6b 6d 61 |" to "Se|t Bookma|
|00003cc0| 72 6b 22 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |rk".end |if.end i|
|00003cd0| 66 0d 65 6e 64 20 53 68 | 6f 77 42 6f 6f 6b 4d 61 |f.end Sh|owBookMa|
|00003ce0| 72 6b 0d 0d 6f 6e 20 42 | 6f 6f 6b 4d 61 72 6b 0d |rk..on B|ookMark.|
|00003cf0| 73 65 74 20 74 68 65 20 | 6d 61 72 6b 65 64 20 6f |set the |marked o|
|00003d00| 66 20 74 68 69 73 20 63 | 61 72 64 20 74 6f 20 6e |f this c|ard to n|
|00003d10| 6f 74 20 74 68 65 20 6d | 61 72 6b 65 64 20 6f 66 |ot the m|arked of|
|00003d20| 20 74 68 69 73 20 63 61 | 72 64 0d 53 68 6f 77 42 | this ca|rd.ShowB|
|00003d30| 6f 6f 6b 4d 61 72 6b 0d | 65 6e 64 20 42 6f 6f 6b |ookMark.|end Book|
|00003d40| 4d 61 72 6b 0d 0d 6f 6e | 20 47 6f 42 6f 6f 6b 4d |Mark..on| GoBookM|
|00003d50| 61 72 6b 20 67 6f 4e 65 | 78 74 0d 69 66 20 67 6f |ark goNe|xt.if go|
|00003d60| 4e 65 78 74 20 69 73 20 | 6e 6f 74 20 66 61 6c 73 |Next is |not fals|
|00003d70| 65 20 74 68 65 6e 20 70 | 75 74 20 74 72 75 65 20 |e then p|ut true |
|00003d80| 69 6e 74 6f 20 67 6f 4e | 65 78 74 0d 69 66 20 74 |into goN|ext.if t|
|00003d90| 68 65 20 6f 70 74 69 6f | 6e 6b 65 79 20 69 73 20 |he optio|nkey is |
|00003da0| 64 6f 77 6e 20 74 68 65 | 6e 20 70 75 74 20 66 61 |down the|n put fa|
|00003db0| 6c 73 65 20 69 6e 74 6f | 20 67 6f 4e 65 78 74 0d |lse into| goNext.|
|00003dc0| 72 65 70 65 61 74 0d 6c | 6f 63 6b 20 73 63 72 65 |repeat.l|ock scre|
|00003dd0| 65 6e 0d 69 66 20 67 6f | 4e 65 78 74 20 74 68 65 |en.if go|Next the|
|00003de0| 6e 0d 67 6f 20 6e 65 78 | 74 20 6d 61 72 6b 65 64 |n.go nex|t marked|
|00003df0| 20 63 61 72 64 0d 65 6c | 73 65 20 67 6f 20 70 72 | card.el|se go pr|
|00003e00| 65 76 69 6f 75 73 20 6d | 61 72 6b 65 64 20 63 61 |evious m|arked ca|
|00003e10| 72 64 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |rd.unloc|k screen|
|00003e20| 20 77 69 74 68 20 76 69 | 73 75 61 6c 20 65 66 66 | with vi|sual eff|
|00003e30| 65 63 74 20 7a 6f 6f 6d | 20 6f 75 74 0d 69 66 20 |ect zoom| out.if |
|00003e40| 74 68 65 20 6d 6f 75 73 | 65 20 69 73 20 75 70 20 |the mous|e is up |
|00003e50| 74 68 65 6e 20 65 78 69 | 74 20 72 65 70 65 61 74 |then exi|t repeat|
|00003e60| 0d 69 66 20 74 68 65 20 | 6d 6f 75 73 65 4c 6f 63 |.if the |mouseLoc|
|00003e70| 20 69 73 20 6e 6f 74 20 | 77 69 74 68 69 6e 20 74 | is not |within t|
|00003e80| 68 65 20 72 65 63 74 20 | 6f 66 20 74 68 65 20 74 |he rect |of the t|
|00003e90| 61 72 67 65 74 20 74 68 | 65 6e 20 65 78 69 74 20 |arget th|en exit |
|00003ea0| 72 65 70 65 61 74 0d 65 | 6e 64 20 72 65 70 65 61 |repeat.e|nd repea|
|00003eb0| 74 0d 65 6e 64 20 47 6f | 42 6f 6f 6b 4d 61 72 6b |t.end Go|BookMark|
|00003ec0| 0d 0d 6f 6e 20 47 6f 50 | 72 65 76 42 6f 6f 6b 4d |..on GoP|revBookM|
|00003ed0| 61 72 6b 0d 47 6f 42 6f | 6f 6b 4d 61 72 6b 20 66 |ark.GoBo|okMark f|
|00003ee0| 61 6c 73 65 0d 65 6e 64 | 20 47 6f 50 72 65 76 42 |alse.end| GoPrevB|
|00003ef0| 6f 6f 6b 4d 61 72 6b 0d | 0d 6f 6e 20 43 6c 65 61 |ookMark.|.on Clea|
|00003f00| 72 42 6f 6f 6b 4d 61 72 | 6b 73 20 63 6f 6e 66 69 |rBookMar|ks confi|
|00003f10| 72 6d 61 74 69 6f 6e 0d | 69 66 20 63 6f 6e 66 69 |rmation.|if confi|
|00003f20| 72 6d 61 74 69 6f 6e 20 | 69 73 20 65 6d 70 74 79 |rmation |is empty|
|00003f30| 20 74 68 65 6e 0d 61 6e | 73 77 65 72 20 22 52 65 | then.an|swer "Re|
|00003f40| 61 6c 6c 79 20 63 6c 65 | 61 72 20 61 6c 6c 20 74 |ally cle|ar all t|
|00003f50| 68 65 20 62 6f 6f 6b 6d | 61 72 6b 73 3f 22 20 77 |he bookm|arks?" w|
|00003f60| 69 74 68 20 22 59 65 73 | 22 20 6f 72 20 22 4e 6f |ith "Yes|" or "No|
|00003f70| 22 0d 69 66 20 69 74 20 | 69 73 20 22 4e 6f 22 20 |".if it |is "No" |
|00003f80| 74 68 65 6e 20 65 78 69 | 74 20 43 6c 65 61 72 42 |then exi|t ClearB|
|00003f90| 6f 6f 6b 4d 61 72 6b 73 | 0d 65 6e 64 20 69 66 0d |ookMarks|.end if.|
|00003fa0| 75 6e 6d 61 72 6b 20 61 | 6c 6c 20 63 61 72 64 73 |unmark a|ll cards|
|00003fb0| 0d 65 6e 64 20 43 6c 65 | 61 72 42 6f 6f 6b 4d 61 |.end Cle|arBookMa|
|00003fc0| 72 6b 73 0d 0d 6f 6e 20 | 45 78 70 6f 72 74 41 6c |rks..on |ExportAl|
|00003fd0| 6c 42 6f 6f 6b 54 65 78 | 74 20 74 68 69 73 43 68 |lBookTex|t thisCh|
|00003fe0| 61 70 74 65 72 0d 61 73 | 6b 20 66 69 6c 65 20 22 |apter.as|k file "|
|00003ff0| 46 69 6c 65 6e 61 6d 65 | 20 74 6f 20 65 78 70 6f |Filename| to expo|
|00004000| 72 74 20 74 6f 3f 22 26 | 20 72 65 74 75 72 6e 20 |rt to?"&| return |
|00004010| 26 20 c2 0d 22 4e 4f 54 | 45 3a 20 74 68 69 73 20 |& .."NOT|E: this |
|00004020| 74 61 6b 65 73 20 61 20 | 77 68 69 6c 65 21 22 20 |takes a |while!" |
|00004030| 77 69 74 68 20 c2 0d 63 | 68 61 72 20 31 20 74 6f |with ..c|har 1 to|
|00004040| 20 32 34 20 6f 66 20 74 | 68 65 20 73 68 6f 72 74 | 24 of t|he short|
|00004050| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|00004060| 61 63 6b 20 26 26 20 22 | 28 74 65 78 74 29 22 0d |ack && "|(text)".|
|00004070| 69 66 20 69 74 20 69 73 | 20 65 6d 70 74 79 20 74 |if it is| empty t|
|00004080| 68 65 6e 20 65 78 69 74 | 20 45 78 70 6f 72 74 41 |hen exit| ExportA|
|00004090| 6c 6c 42 6f 6f 6b 54 65 | 78 74 0d 67 6c 6f 62 61 |llBookTe|xt.globa|
|000040a0| 6c 20 67 4f 70 65 6e 46 | 69 6c 65 4e 61 6d 65 0d |l gOpenF|ileName.|
|000040b0| 70 75 74 20 69 74 20 69 | 6e 74 6f 20 67 4f 70 65 |put it i|nto gOpe|
|000040c0| 6e 46 69 6c 65 4e 61 6d | 65 0d 6f 70 65 6e 20 66 |nFileNam|e.open f|
|000040d0| 69 6c 65 20 67 4f 70 65 | 6e 46 69 6c 65 4e 61 6d |ile gOpe|nFileNam|
|000040e0| 65 0d 0d 70 75 73 68 20 | 63 61 72 64 0d 73 65 74 |e..push |card.set|
|000040f0| 20 74 68 65 20 6c 6f 63 | 6b 73 63 72 65 65 6e 20 | the loc|kscreen |
|00004100| 74 6f 20 74 72 75 65 0d | 73 65 74 20 74 68 65 20 |to true.|set the |
|00004110| 6c 6f 63 6b 6d 65 73 73 | 61 67 65 73 20 74 6f 20 |lockmess|ages to |
|00004120| 74 72 75 65 0d 73 65 74 | 20 74 68 65 20 6c 6f 63 |true.set| the loc|
|00004130| 6b 72 65 63 65 6e 74 20 | 74 6f 20 74 72 75 65 0d |krecent |to true.|
|00004140| 0d 67 6f 20 66 69 72 73 | 74 20 63 61 72 64 0d 73 |.go firs|t card.s|
|00004150| 65 6e 64 20 22 45 78 70 | 6f 72 74 42 6f 6f 6b 54 |end "Exp|ortBookT|
|00004160| 65 78 74 22 20 74 6f 20 | 74 68 69 73 20 62 67 0d |ext" to |this bg.|
|00004170| 0d 67 6f 20 63 64 20 31 | 20 6f 66 20 62 67 20 22 |.go cd 1| of bg "|
|00004180| 74 65 78 74 22 0d 73 65 | 6e 64 20 22 45 78 70 6f |text".se|nd "Expo|
|00004190| 72 74 42 6f 6f 6b 54 65 | 78 74 22 20 74 6f 20 74 |rtBookTe|xt" to t|
|000041a0| 68 69 73 20 62 67 0d 0d | 63 6c 6f 73 65 20 66 69 |his bg..|close fi|
|000041b0| 6c 65 20 67 4f 70 65 6e | 46 69 6c 65 4e 61 6d 65 |le gOpen|FileName|
|000041c0| 0d 53 65 74 46 49 6e 66 | 6f 20 67 4f 70 65 6e 46 |.SetFInf|o gOpenF|
|000041d0| 69 6c 65 4e 61 6d 65 2c | 22 63 3d 4d 53 57 44 22 |ileName,|"c=MSWD"|
|000041e0| 0d 70 75 74 20 74 68 65 | 20 72 65 73 75 6c 74 0d |.put the| result.|
|000041f0| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 67 |put empt|y into g|
|00004200| 4f 70 65 6e 46 69 6c 65 | 4e 61 6d 65 0d 0d 70 6f |OpenFile|Name..po|
|00004210| 70 20 63 61 72 64 0d 65 | 6e 64 20 45 78 70 6f 72 |p card.e|nd Expor|
|00004220| 74 41 6c 6c 42 6f 6f 6b | 54 65 78 74 0d 0d 6f 6e |tAllBook|Text..on|
|00004230| 20 45 78 70 6f 72 74 4e | 6f 74 65 73 0d 61 73 6b | ExportN|otes.ask|
|00004240| 20 66 69 6c 65 20 22 45 | 78 70 6f 72 74 20 6e 6f | file "E|xport no|
|00004250| 74 65 73 20 61 73 2e 2e | 2e 22 20 26 20 72 65 74 |tes as..|." & ret|
|00004260| 75 72 6e 20 26 20 c2 0d | 22 28 74 68 69 73 20 74 |urn & ..|"(this t|
|00004270| 61 6b 65 73 20 61 20 77 | 68 69 6c 65 2e 2e 2e 29 |akes a w|hile...)|
|00004280| 22 20 77 69 74 68 20 c2 | 0d 28 63 68 61 72 20 31 |" with .|.(char 1|
|00004290| 20 74 6f 20 31 35 20 6f | 66 20 74 68 65 20 73 68 | to 15 o|f the sh|
|000042a0| 6f 72 74 20 6e 61 6d 65 | 20 6f 66 20 74 68 69 73 |ort name| of this|
|000042b0| 20 73 74 61 63 6b 20 26 | 20 22 c9 20 4e 6f 74 65 | stack &| ". Note|
|000042c0| 73 22 26 26 20 74 68 65 | 20 73 68 6f 72 74 20 64 |s"&& the| short d|
|000042d0| 61 74 65 29 0d 69 66 20 | 69 74 20 69 73 20 65 6d |ate).if |it is em|
|000042e0| 70 74 79 20 74 68 65 6e | 20 65 78 69 74 20 45 78 |pty then| exit Ex|
|000042f0| 70 6f 72 74 4e 6f 74 65 | 73 0d 70 75 74 20 69 74 |portNote|s.put it|
|00004300| 20 69 6e 74 6f 20 66 69 | 6c 65 4e 61 6d 65 0d 6f | into fi|leName.o|
|00004310| 70 65 6e 20 66 69 6c 65 | 20 66 69 6c 65 4e 61 6d |pen file| fileNam|
|00004320| 65 0d 70 75 74 20 28 74 | 68 65 20 6e 75 6d 62 65 |e.put (t|he numbe|
|00004330| 72 20 6f 66 20 6c 61 73 | 74 20 63 61 72 64 20 6f |r of las|t card o|
|00004340| 66 20 62 67 20 22 63 6f | 6e 74 65 6e 74 73 22 29 |f bg "co|ntents")|
|00004350| 20 2b 20 31 20 69 6e 74 | 6f 20 73 74 61 72 74 43 | + 1 int|o startC|
|00004360| 61 72 64 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |ard.repe|at with |
|00004370| 69 20 3d 20 73 74 61 72 | 74 43 61 72 64 20 74 6f |i = star|tCard to|
|00004380| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 63 | the num|ber of c|
|00004390| 61 72 64 73 0d 73 65 74 | 20 74 68 65 20 63 75 72 |ards.set| the cur|
|000043a0| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 69 66 20 53 |sor to b|usy.if S|
|000043b0| 65 63 74 69 6f 6e 4e 61 | 6d 65 28 2c 69 29 20 69 |ectionNa|me(,i) i|
|000043c0| 73 20 22 50 75 62 6c 69 | 63 61 74 69 6f 6e 20 4e |s "Publi|cation N|
|000043d0| 6f 74 65 73 22 20 74 68 | 65 6e 20 6e 65 78 74 20 |otes" th|en next |
|000043e0| 72 65 70 65 61 74 0d 69 | 66 20 74 68 65 72 65 20 |repeat.i|f there |
|000043f0| 69 73 20 61 20 62 67 20 | 66 6c 64 20 22 6e 6f 74 |is a bg |fld "not|
|00004400| 65 73 22 20 6f 66 20 63 | 64 20 69 20 74 68 65 6e |es" of c|d i then|
|00004410| 0d 67 65 74 20 62 67 20 | 66 6c 64 20 22 6e 6f 74 |.get bg |fld "not|
|00004420| 65 73 22 20 6f 66 20 63 | 64 20 69 0d 72 65 70 65 |es" of c|d i.repe|
|00004430| 61 74 20 77 68 69 6c 65 | 20 63 68 61 72 20 31 20 |at while| char 1 |
|00004440| 6f 66 20 69 74 20 69 73 | 20 72 65 74 75 72 6e 0d |of it is| return.|
|00004450| 64 65 6c 65 74 65 20 63 | 68 61 72 20 31 20 6f 66 |delete c|har 1 of|
|00004460| 20 69 74 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 72 | it.end |repeat.r|
|00004470| 65 70 65 61 74 20 77 68 | 69 6c 65 20 6c 61 73 74 |epeat wh|ile last|
|00004480| 20 63 68 61 72 20 6f 66 | 20 69 74 20 69 73 20 72 | char of| it is r|
|00004490| 65 74 75 72 6e 0d 64 65 | 6c 65 74 65 20 6c 61 73 |eturn.de|lete las|
|000044a0| 74 20 63 68 61 72 20 6f | 66 20 69 74 0d 65 6e 64 |t char o|f it.end|
|000044b0| 20 72 65 70 65 61 74 0d | 69 66 20 69 74 20 69 73 | repeat.|if it is|
|000044c0| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 0d | not emp|ty then.|
|000044d0| 77 72 69 74 65 20 22 50 | 61 67 65 22 20 26 26 20 |write "P|age" && |
|000044e0| 50 61 67 65 4e 75 6d 62 | 65 72 28 2c 69 29 20 26 |PageNumb|er(,i) &|
|000044f0| 22 3a 22 26 20 72 65 74 | 75 72 6e 20 74 6f 20 66 |":"& ret|urn to f|
|00004500| 69 6c 65 20 66 69 6c 65 | 4e 61 6d 65 0d 77 72 69 |ile file|Name.wri|
|00004510| 74 65 20 69 74 20 26 20 | 72 65 74 75 72 6e 20 74 |te it & |return t|
|00004520| 6f 20 66 69 6c 65 20 66 | 69 6c 65 4e 61 6d 65 0d |o file f|ileName.|
|00004530| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 65 6e |end if.e|nd if.en|
|00004540| 64 20 72 65 70 65 61 74 | 0d 63 6c 6f 73 65 20 66 |d repeat|.close f|
|00004550| 69 6c 65 20 66 69 6c 65 | 6e 61 6d 65 0d 53 65 74 |ile file|name.Set|
|00004560| 46 49 6e 66 6f 20 66 69 | 6c 65 6e 61 6d 65 2c 22 |FInfo fi|lename,"|
|00004570| 63 3d 4d 53 57 44 22 0d | 65 6e 64 20 45 78 70 6f |c=MSWD".|end Expo|
|00004580| 72 74 4e 6f 74 65 73 0d | 0d 6f 6e 20 43 6c 65 61 |rtNotes.|.on Clea|
|00004590| 72 4e 6f 74 65 73 20 63 | 6f 6e 66 69 72 6d 61 74 |rNotes c|onfirmat|
|000045a0| 69 6f 6e 0d 69 66 20 63 | 6f 6e 66 69 72 6d 61 74 |ion.if c|onfirmat|
|000045b0| 69 6f 6e 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |ion is e|mpty the|
|000045c0| 6e 0d 61 6e 73 77 65 72 | 20 22 52 65 61 6c 6c 79 |n.answer| "Really|
|000045d0| 20 67 65 74 20 72 69 64 | 20 6f 66 20 61 6c 6c 20 | get rid| of all |
|000045e0| 74 68 65 20 6e 6f 74 65 | 73 3f 22 20 77 69 74 68 |the note|s?" with|
|000045f0| 20 22 59 65 73 22 20 6f | 72 20 22 4e 6f 22 0d 69 | "Yes" o|r "No".i|
|00004600| 66 20 69 74 20 69 73 20 | 22 6e 6f 22 20 74 68 65 |f it is |"no" the|
|00004610| 6e 20 65 78 69 74 20 43 | 6c 65 61 72 4e 6f 74 65 |n exit C|learNote|
|00004620| 73 0d 65 6e 64 20 69 66 | 0d 70 75 73 68 20 63 61 |s.end if|.push ca|
|00004630| 72 64 0d 73 65 74 20 74 | 68 65 20 6c 6f 63 6b 53 |rd.set t|he lockS|
|00004640| 63 72 65 65 6e 20 74 6f | 20 74 72 75 65 0d 73 65 |creen to| true.se|
|00004650| 74 20 74 68 65 20 6c 6f | 63 6b 4d 65 73 73 61 67 |t the lo|ckMessag|
|00004660| 65 73 20 74 6f 20 74 72 | 75 65 0d 73 65 74 20 74 |es to tr|ue.set t|
|00004670| 68 65 20 6c 6f 63 6b 52 | 65 63 65 6e 74 20 74 6f |he lockR|ecent to|
|00004680| 20 74 72 75 65 0d 72 65 | 70 65 61 74 20 77 69 74 | true.re|peat wit|
|00004690| 68 20 69 20 3d 20 32 20 | 74 6f 20 74 68 65 20 6e |h i = 2 |to the n|
|000046a0| 75 6d 62 65 72 20 6f 66 | 20 63 61 72 64 73 20 6f |umber of| cards o|
|000046b0| 66 20 62 67 20 22 74 65 | 78 74 22 0d 73 65 74 20 |f bg "te|xt".set |
|000046c0| 74 68 65 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |the curs|or to bu|
|000046d0| 73 79 0d 67 6f 20 63 64 | 20 69 20 6f 66 20 62 67 |sy.go cd| i of bg|
|000046e0| 20 22 74 65 78 74 22 0d | 69 66 20 53 65 63 74 69 | "text".|if Secti|
|000046f0| 6f 6e 4e 61 6d 65 28 29 | 20 69 73 20 22 50 72 6f |onName()| is "Pro|
|00004700| 6a 65 63 74 20 47 75 74 | 65 6e 62 65 72 67 22 20 |ject Gut|enberg" |
|00004710| 6f 72 20 c2 0d 53 65 63 | 74 69 6f 6e 4e 61 6d 65 |or ..Sec|tionName|
|00004720| 28 29 20 69 73 20 22 50 | 75 62 6c 69 63 61 74 69 |() is "P|ublicati|
|00004730| 6f 6e 20 4e 6f 74 65 73 | 22 20 74 68 65 6e 20 6e |on Notes|" then n|
|00004740| 65 78 74 20 72 65 70 65 | 61 74 0d 70 75 74 20 65 |ext repe|at.put e|
|00004750| 6d 70 74 79 20 69 6e 74 | 6f 20 62 67 20 66 6c 64 |mpty int|o bg fld|
|00004760| 20 22 6e 6f 74 65 73 22 | 0d 65 6e 64 20 72 65 70 | "notes"|.end rep|
|00004770| 65 61 74 0d 70 6f 70 20 | 63 61 72 64 0d 65 6e 64 |eat.pop |card.end|
|00004780| 20 43 6c 65 61 72 4e 6f | 74 65 73 0d 0d 6f 6e 20 | ClearNo|tes..on |
|00004790| 4d 61 72 6b 54 65 78 74 | 0d 67 6c 6f 62 61 6c 20 |MarkText|.global |
|000047a0| 67 43 75 72 72 65 6e 74 | 6c 79 53 65 6c 65 63 74 |gCurrent|lySelect|
|000047b0| 65 64 43 68 75 6e 6b 0d | 69 66 20 74 68 65 20 73 |edChunk.|if the s|
|000047c0| 65 6c 65 63 74 69 6f 6e | 20 69 73 20 6e 6f 74 20 |election| is not |
|000047d0| 65 6d 70 74 79 20 74 68 | 65 6e 0d 70 75 74 20 74 |empty th|en.put t|
|000047e0| 68 65 20 73 65 6c 65 63 | 74 65 64 43 68 75 6e 6b |he selec|tedChunk|
|000047f0| 20 69 6e 74 6f 20 67 43 | 75 72 72 65 6e 74 6c 79 | into gC|urrently|
|00004800| 53 65 6c 65 63 74 65 64 | 43 68 75 6e 6b 0d 65 6c |Selected|Chunk.el|
|00004810| 73 65 20 69 66 20 67 43 | 75 72 72 65 6e 74 6c 79 |se if gC|urrently|
|00004820| 53 65 6c 65 63 74 65 64 | 43 68 75 6e 6b 20 69 73 |Selected|Chunk is|
|00004830| 20 65 6d 70 74 79 20 6f | 72 20 c2 0d 77 6f 72 64 | empty o|r ..word|
|00004840| 20 32 20 6f 66 20 67 43 | 75 72 72 65 6e 74 6c 79 | 2 of gC|urrently|
|00004850| 53 65 6c 65 63 74 65 64 | 43 68 75 6e 6b 20 3e 20 |Selected|Chunk > |
|00004860| 77 6f 72 64 20 34 20 6f | 66 20 67 43 75 72 72 65 |word 4 o|f gCurre|
|00004870| 6e 74 6c 79 53 65 6c 65 | 63 74 65 64 43 68 75 6e |ntlySele|ctedChun|
|00004880| 6b 20 74 68 65 6e 0d 69 | 66 20 74 68 65 20 74 61 |k then.i|f the ta|
|00004890| 72 67 65 74 20 63 6f 6e | 74 61 69 6e 73 20 22 62 |rget con|tains "b|
|000048a0| 75 74 74 6f 6e 22 20 74 | 68 65 6e 0d 61 6e 73 77 |utton" t|hen.answ|
|000048b0| 65 72 20 22 53 65 6c 65 | 63 74 20 74 65 78 74 20 |er "Sele|ct text |
|000048c0| 69 6e 20 74 68 65 20 6d | 61 69 6e 20 74 65 78 74 |in the m|ain text|
|000048d0| 20 66 69 65 6c 64 20 61 | 6e 64 20 74 68 65 6e 20 | field a|nd then |
|000048e0| 63 6c 69 63 6b 20 74 68 | 69 73 22 20 26 c2 0d 22 |click th|is" &.."|
|000048f0| 20 62 75 74 74 6f 6e 20 | 74 6f 20 75 6e 64 65 72 | button |to under|
|00004900| 6c 69 6e 65 20 69 74 2e | 22 20 77 69 74 68 20 22 |line it.|" with "|
|00004910| 4f 4b 22 0d 65 6c 73 65 | 0d 61 6e 73 77 65 72 20 |OK".else|.answer |
|00004920| 22 53 65 6c 65 63 74 20 | 74 65 78 74 20 69 6e 20 |"Select |text in |
|00004930| 74 68 65 20 6d 61 69 6e | 20 74 65 78 74 20 66 69 |the main| text fi|
|00004940| 65 6c 64 20 61 6e 64 20 | 73 65 6c 65 63 74 20 74 |eld and |select t|
|00004950| 68 69 73 22 20 26 c2 0d | 22 20 6d 65 6e 75 20 69 |his" &..|" menu i|
|00004960| 74 65 6d 20 74 6f 20 75 | 6e 64 65 72 6c 69 6e 65 |tem to u|nderline|
|00004970| 20 69 74 2e 22 20 77 69 | 74 68 20 22 4f 4b 22 0d | it." wi|th "OK".|
|00004980| 65 6e 64 20 69 66 0d 65 | 78 69 74 20 4d 61 72 6b |end if.e|xit Mark|
|00004990| 54 65 78 74 0d 65 6e 64 | 20 69 66 0d 0d 67 65 74 |Text.end| if..get|
|000049a0| 20 74 68 65 20 74 65 78 | 74 53 74 79 6c 65 20 6f | the tex|tStyle o|
|000049b0| 66 20 67 43 75 72 72 65 | 6e 74 6c 79 53 65 6c 65 |f gCurre|ntlySele|
|000049c0| 63 74 65 64 43 68 75 6e | 6b 0d 69 66 20 69 74 20 |ctedChun|k.if it |
|000049d0| 63 6f 6e 74 61 69 6e 73 | 20 22 75 6e 64 65 72 6c |contains| "underl|
|000049e0| 69 6e 65 22 20 74 68 65 | 6e 0d 73 65 74 20 74 68 |ine" the|n.set th|
|000049f0| 65 20 74 65 78 74 53 74 | 79 6c 65 20 6f 66 20 67 |e textSt|yle of g|
|00004a00| 43 75 72 72 65 6e 74 6c | 79 53 65 6c 65 63 74 65 |Currentl|ySelecte|
|00004a10| 64 43 68 75 6e 6b 20 74 | 6f 20 70 6c 61 69 6e 0d |dChunk t|o plain.|
|00004a20| 65 6c 73 65 20 69 66 20 | 69 74 20 69 73 20 22 70 |else if |it is "p|
|00004a30| 6c 61 69 6e 22 20 74 68 | 65 6e 0d 73 65 74 20 74 |lain" th|en.set t|
|00004a40| 68 65 20 74 65 78 74 53 | 74 79 6c 65 20 6f 66 20 |he textS|tyle of |
|00004a50| 67 43 75 72 72 65 6e 74 | 6c 79 53 65 6c 65 63 74 |gCurrent|lySelect|
|00004a60| 65 64 43 68 75 6e 6b 20 | 74 6f 20 75 6e 64 65 72 |edChunk |to under|
|00004a70| 6c 69 6e 65 0d 65 6c 73 | 65 20 69 66 20 69 74 20 |line.els|e if it |
|00004a80| 69 73 20 22 6d 69 78 65 | 64 22 20 74 68 65 6e 0d |is "mixe|d" then.|
|00004a90| 73 65 74 20 74 68 65 20 | 74 65 78 74 53 74 79 6c |set the |textStyl|
|00004aa0| 65 20 6f 66 20 67 43 75 | 72 72 65 6e 74 6c 79 53 |e of gCu|rrentlyS|
|00004ab0| 65 6c 65 63 74 65 64 43 | 68 75 6e 6b 20 74 6f 20 |electedC|hunk to |
|00004ac0| 75 6e 64 65 72 6c 69 6e | 65 0d 65 6e 64 20 69 66 |underlin|e.end if|
|00004ad0| 0d 73 65 6c 65 63 74 20 | 67 43 75 72 72 65 6e 74 |.select |gCurrent|
|00004ae0| 6c 79 53 65 6c 65 63 74 | 65 64 43 68 75 6e 6b 0d |lySelect|edChunk.|
|00004af0| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 62 67 |if there| is a bg|
|00004b00| 20 62 74 6e 20 22 6d 61 | 72 6b 20 74 65 78 74 22 | btn "ma|rk text"|
|00004b10| 20 74 68 65 6e 0d 69 66 | 20 74 68 65 20 6d 6f 75 | then.if| the mou|
|00004b20| 73 65 4c 6f 63 20 69 73 | 20 6e 6f 74 20 77 69 74 |seLoc is| not wit|
|00004b30| 68 69 6e 20 74 68 65 20 | 72 65 63 74 20 6f 66 20 |hin the |rect of |
|00004b40| 62 67 20 62 74 6e 20 22 | 6d 61 72 6b 20 74 65 78 |bg btn "|mark tex|
|00004b50| 74 22 0d 74 68 65 6e 20 | 70 75 74 20 65 6d 70 74 |t".then |put empt|
|00004b60| 79 20 69 6e 74 6f 20 67 | 43 75 72 72 65 6e 74 6c |y into g|Currentl|
|00004b70| 79 53 65 6c 65 63 74 65 | 64 43 68 75 6e 6b 0d 65 |ySelecte|dChunk.e|
|00004b80| 6e 64 20 69 66 0d 65 6e | 64 20 4d 61 72 6b 54 65 |nd if.en|d MarkTe|
|00004b90| 78 74 0d 0d 6f 6e 20 53 | 74 61 72 74 53 65 61 72 |xt..on S|tartSear|
|00004ba0| 63 68 20 66 6f 72 63 65 | 41 67 61 69 6e 0d 67 6c |ch force|Again.gl|
|00004bb0| 6f 62 61 6c 20 67 4c 61 | 73 74 53 65 61 72 63 68 |obal gLa|stSearch|
|00004bc0| 57 6f 72 64 2c 67 46 6f | 75 6e 64 43 68 75 6e 6b |Word,gFo|undChunk|
|00004bd0| 0d 69 66 20 67 4c 61 73 | 74 53 65 61 72 63 68 57 |.if gLas|tSearchW|
|00004be0| 6f 72 64 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 |ord is n|ot empty|
|00004bf0| 20 61 6e 64 20 c2 0d 28 | 66 6f 72 63 65 41 67 61 | and ..(|forceAga|
|00004c00| 69 6e 20 69 73 20 74 72 | 75 65 20 6f 72 20 74 68 |in is tr|ue or th|
|00004c10| 65 20 6f 70 74 69 6f 6e | 4b 65 79 20 69 73 20 64 |e option|Key is d|
|00004c20| 6f 77 6e 29 20 74 68 65 | 6e 0d 46 69 6e 64 57 6f |own) the|n.FindWo|
|00004c30| 72 64 0d 65 6c 73 65 0d | 61 73 6b 20 22 57 6f 72 |rd.else.|ask "Wor|
|00004c40| 64 20 6f 72 20 70 68 72 | 61 73 65 20 74 6f 20 73 |d or phr|ase to s|
|00004c50| 65 61 72 63 68 20 66 6f | 72 20 3f 22 26 20 72 65 |earch fo|r ?"& re|
|00004c60| 74 75 72 6e 20 26 20 72 | 65 74 75 72 6e 20 26 20 |turn & r|eturn & |
|00004c70| c2 0d 22 20 20 28 4f 70 | 74 69 6f 6e 2d 63 6c 69 |.." (Op|tion-cli|
|00004c80| 63 6b 20 74 68 65 20 73 | 65 61 72 63 68 20 62 75 |ck the s|earch bu|
|00004c90| 74 74 6f 6e 20 74 6f 20 | 70 65 72 66 6f 72 6d 22 |tton to |perform"|
|00004ca0| 26 72 65 74 75 72 6e 26 | 22 20 20 20 74 68 69 73 |&return&|" this|
|00004cb0| 20 73 65 61 72 63 68 20 | 61 67 61 69 6e 2e 29 22 | search |again.)"|
|00004cc0| 20 77 69 74 68 20 67 4c | 61 73 74 53 65 61 72 63 | with gL|astSearc|
|00004cd0| 68 57 6f 72 64 0d 69 66 | 20 69 74 20 69 73 20 65 |hWord.if| it is e|
|00004ce0| 6d 70 74 79 20 74 68 65 | 6e 20 65 78 69 74 20 53 |mpty the|n exit S|
|00004cf0| 74 61 72 74 53 65 61 72 | 63 68 0d 69 66 20 69 74 |tartSear|ch.if it|
|00004d00| 20 69 73 20 6e 6f 74 20 | 67 4c 61 73 74 53 65 61 | is not |gLastSea|
|00004d10| 72 63 68 57 6f 72 64 20 | 74 68 65 6e 20 70 75 74 |rchWord |then put|
|00004d20| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 67 46 6f 75 | empty i|nto gFou|
|00004d30| 6e 64 43 68 75 6e 6b 0d | 46 69 6e 64 57 6f 72 64 |ndChunk.|FindWord|
|00004d40| 20 69 74 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 53 | it.end |if.end S|
|00004d50| 74 61 72 74 53 65 61 72 | 63 68 0d 0d 6f 6e 20 46 |tartSear|ch..on F|
|00004d60| 69 6e 64 57 6f 72 64 20 | 73 65 61 72 63 68 54 65 |indWord |searchTe|
|00004d70| 78 74 0d 67 6c 6f 62 61 | 6c 20 67 4c 61 73 74 53 |xt.globa|l gLastS|
|00004d80| 65 61 72 63 68 57 6f 72 | 64 2c 67 46 6f 75 6e 64 |earchWor|d,gFound|
|00004d90| 43 68 75 6e 6b 0d 69 66 | 20 73 65 61 72 63 68 54 |Chunk.if| searchT|
|00004da0| 65 78 74 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 |ext is n|ot empty|
|00004db0| 20 74 68 65 6e 20 70 75 | 74 20 73 65 61 72 63 68 | then pu|t search|
|00004dc0| 54 65 78 74 20 69 6e 74 | 6f 20 67 4c 61 73 74 53 |Text int|o gLastS|
|00004dd0| 65 61 72 63 68 57 6f 72 | 64 0d 69 66 20 74 68 65 |earchWor|d.if the|
|00004de0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 74 68 69 73 20 | number |of this |
|00004df0| 63 61 72 64 20 69 73 20 | 6e 6f 74 20 69 74 65 6d |card is |not item|
|00004e00| 20 34 20 6f 66 20 67 46 | 6f 75 6e 64 43 68 75 6e | 4 of gF|oundChun|
|00004e10| 6b 0d 74 68 65 6e 20 70 | 75 74 20 65 6d 70 74 79 |k.then p|ut empty|
|00004e20| 20 69 6e 74 6f 20 67 46 | 6f 75 6e 64 43 68 75 6e | into gF|oundChun|
|00004e30| 6b 0d 0d 70 75 73 68 20 | 63 61 72 64 0d 69 66 20 |k..push |card.if |
|00004e40| 46 69 6e 64 45 6e 67 69 | 6e 65 28 29 20 74 68 65 |FindEngi|ne() the|
|00004e50| 6e 0d 70 6f 70 20 63 61 | 72 64 20 69 6e 74 6f 20 |n.pop ca|rd into |
|00004e60| 69 74 0d 53 65 6c 65 63 | 74 46 6f 75 6e 64 54 65 |it.Selec|tFoundTe|
|00004e70| 78 74 0d 65 6c 73 65 0d | 70 6f 70 20 63 61 72 64 |xt.else.|pop card|
|00004e80| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00004e90| 67 46 6f 75 6e 64 43 68 | 75 6e 6b 0d 65 6e 64 20 |gFoundCh|unk.end |
|00004ea0| 69 66 0d 65 6e 64 20 46 | 69 6e 64 57 6f 72 64 0d |if.end F|indWord.|
|00004eb0| 0d 6f 6e 20 53 65 6c 65 | 63 74 46 6f 75 6e 64 54 |.on Sele|ctFoundT|
|00004ec0| 65 78 74 0d 67 6c 6f 62 | 61 6c 20 67 46 6f 75 6e |ext.glob|al gFoun|
|00004ed0| 64 43 68 75 6e 6b 2c 67 | 46 69 72 73 74 4c 69 6e |dChunk,g|FirstLin|
|00004ee0| 65 2c 67 4c 61 73 74 53 | 65 61 72 63 68 57 6f 72 |e,gLastS|earchWor|
|00004ef0| 64 0d 69 66 20 67 46 6f | 75 6e 64 43 68 75 6e 6b |d.if gFo|undChunk|
|00004f00| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 65 | is empt|y then e|
|00004f10| 78 69 74 20 53 65 6c 65 | 63 74 46 6f 75 6e 64 54 |xit Sele|ctFoundT|
|00004f20| 65 78 74 0d 70 75 74 20 | 69 74 65 6d 20 31 20 6f |ext.put |item 1 o|
|00004f30| 66 20 67 46 6f 75 6e 64 | 43 68 75 6e 6b 20 69 6e |f gFound|Chunk in|
|00004f40| 74 6f 20 73 74 61 72 74 | 43 68 61 72 0d 70 75 74 |to start|Char.put|
|00004f50| 20 73 74 61 72 74 43 68 | 61 72 20 2b 20 74 68 65 | startCh|ar + the|
|00004f60| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 68 61 72 73 | number |of chars|
|00004f70| 20 6f 66 20 67 4c 61 73 | 74 53 65 61 72 63 68 57 | of gLas|tSearchW|
|00004f80| 6f 72 64 20 2d 20 31 20 | 69 6e 74 6f 20 65 6e 64 |ord - 1 |into end|
|00004f90| 43 68 61 72 0d 70 75 74 | 20 69 74 65 6d 20 33 20 |Char.put| item 3 |
|00004fa0| 6f 66 20 67 46 6f 75 6e | 64 43 68 75 6e 6b 20 69 |of gFoun|dChunk i|
|00004fb0| 6e 74 6f 20 73 65 6c 65 | 63 74 65 64 46 69 65 6c |nto sele|ctedFiel|
|00004fc0| 64 0d 73 65 74 20 74 68 | 65 20 6c 6f 63 6b 73 63 |d.set th|e locksc|
|00004fd0| 72 65 65 6e 20 74 6f 20 | 66 61 6c 73 65 0d 73 65 |reen to |false.se|
|00004fe0| 74 20 74 68 65 20 6c 6f | 63 6b 73 63 72 65 65 6e |t the lo|ckscreen|
|00004ff0| 20 74 6f 20 66 61 6c 73 | 65 0d 73 65 6c 65 63 74 | to fals|e.select|
|00005000| 20 63 68 61 72 20 73 74 | 61 72 74 43 68 61 72 20 | char st|artChar |
|00005010| 74 6f 20 65 6e 64 43 68 | 61 72 20 6f 66 20 62 67 |to endCh|ar of bg|
|00005020| 20 66 6c 64 20 73 65 6c | 65 63 74 65 64 46 69 65 | fld sel|ectedFie|
|00005030| 6c 64 0d 65 6e 64 20 53 | 65 6c 65 63 74 46 6f 75 |ld.end S|electFou|
|00005040| 6e 64 54 65 78 74 0d 0d | 46 55 4e 43 54 49 4f 4e |ndText..|FUNCTION|
|00005050| 20 46 69 6e 64 45 6e 67 | 69 6e 65 0d 67 6c 6f 62 | FindEng|ine.glob|
|00005060| 61 6c 20 67 4c 61 73 74 | 53 65 61 72 63 68 57 6f |al gLast|SearchWo|
|00005070| 72 64 2c 67 46 6f 75 6e | 64 43 68 75 6e 6b 2c 67 |rd,gFoun|dChunk,g|
|00005080| 46 6f 72 63 65 42 65 67 | 69 6e 6e 69 6e 67 0d 70 |ForceBeg|inning.p|
|00005090| 75 74 20 66 61 6c 73 65 | 20 69 6e 74 6f 20 66 6f |ut false| into fo|
|000050a0| 75 6e 64 0d 0d 73 65 74 | 20 74 68 65 20 6c 6f 63 |und..set| the loc|
|000050b0| 6b 73 63 72 65 65 6e 20 | 74 6f 20 74 72 75 65 0d |kscreen |to true.|
|000050c0| 73 65 74 20 74 68 65 20 | 6c 6f 63 6b 6d 65 73 73 |set the |lockmess|
|000050d0| 61 67 65 73 20 74 6f 20 | 74 72 75 65 0d 73 65 74 |ages to |true.set|
|000050e0| 20 74 68 65 20 6c 6f 63 | 6b 72 65 63 65 6e 74 20 | the loc|krecent |
|000050f0| 74 6f 20 74 72 75 65 0d | 0d 69 66 20 67 46 6f 72 |to true.|.if gFor|
|00005100| 63 65 42 65 67 69 6e 6e | 69 6e 67 20 69 73 20 74 |ceBeginn|ing is t|
|00005110| 72 75 65 20 74 68 65 6e | 0d 70 75 74 20 31 20 69 |rue then|.put 1 i|
|00005120| 6e 74 6f 20 73 74 61 72 | 74 43 61 72 64 0d 65 6c |nto star|tCard.el|
|00005130| 73 65 20 69 66 20 67 46 | 6f 75 6e 64 43 68 75 6e |se if gF|oundChun|
|00005140| 6b 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 0d |k is emp|ty then.|
|00005150| 2d 2d 20 69 74 20 68 61 | 73 20 6e 6f 74 20 62 65 |-- it ha|s not be|
|00005160| 65 6e 20 66 6f 75 6e 64 | 20 62 65 66 6f 72 65 2e |en found| before.|
|00005170| 20 20 53 74 61 72 74 20 | 6c 6f 6f 6b 69 6e 67 20 | Start |looking |
|00005180| 66 72 6f 6d 20 74 68 69 | 73 20 63 61 72 64 0d 69 |from thi|s card.i|
|00005190| 66 20 74 68 65 20 73 68 | 6f 72 74 20 6e 61 6d 65 |f the sh|ort name|
|000051a0| 20 6f 66 20 74 68 69 73 | 20 62 67 20 69 73 20 22 | of this| bg is "|
|000051b0| 74 65 78 74 22 20 74 68 | 65 6e 0d 70 75 74 20 74 |text" th|en.put t|
|000051c0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 74 68 69 |he numbe|r of thi|
|000051d0| 73 20 63 61 72 64 20 69 | 6e 74 6f 20 73 74 61 72 |s card i|nto star|
|000051e0| 74 43 61 72 64 0d 65 6c | 73 65 20 70 75 74 20 74 |tCard.el|se put t|
|000051f0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 61 72 |he numbe|r of car|
|00005200| 64 20 31 20 6f 66 20 62 | 67 20 22 74 65 78 74 22 |d 1 of b|g "text"|
|00005210| 20 69 6e 74 6f 20 73 74 | 61 72 74 43 61 72 64 0d | into st|artCard.|
|00005220| 69 66 20 73 74 61 72 74 | 43 61 72 64 20 69 73 20 |if start|Card is |
|00005230| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 63 61 |the numb|er of ca|
|00005240| 72 64 20 31 20 6f 66 20 | 62 67 20 22 74 65 78 74 |rd 1 of |bg "text|
|00005250| 22 20 74 68 65 6e 0d 70 | 75 74 20 74 72 75 65 20 |" then.p|ut true |
|00005260| 69 6e 74 6f 20 67 46 6f | 72 63 65 42 65 67 69 6e |into gFo|rceBegin|
|00005270| 6e 69 6e 67 0d 65 6e 64 | 20 69 66 0d 65 6c 73 65 |ning.end| if.else|
|00005280| 0d 2d 2d 20 69 74 20 68 | 61 73 20 62 65 65 6e 20 |.-- it h|as been |
|00005290| 66 6f 75 6e 64 20 62 65 | 66 6f 72 65 2e 0d 73 65 |found be|fore..se|
|000052a0| 74 20 74 68 65 20 63 75 | 72 73 6f 72 20 74 6f 20 |t the cu|rsor to |
|000052b0| 77 61 74 63 68 0d 70 75 | 74 20 69 74 65 6d 20 31 |watch.pu|t item 1|
|000052c0| 20 6f 66 20 67 46 6f 75 | 6e 64 43 68 75 6e 6b 20 | of gFou|ndChunk |
|000052d0| 69 6e 74 6f 20 73 74 61 | 72 74 43 68 61 72 0d 70 |into sta|rtChar.p|
|000052e0| 75 74 20 69 74 65 6d 20 | 32 20 6f 66 20 67 46 6f |ut item |2 of gFo|
|000052f0| 75 6e 64 43 68 75 6e 6b | 20 69 6e 74 6f 20 73 74 |undChunk| into st|
|00005300| 61 72 74 4c 69 6e 65 0d | 70 75 74 20 69 74 65 6d |artLine.|put item|
|00005310| 20 33 20 6f 66 20 67 46 | 6f 75 6e 64 43 68 75 6e | 3 of gF|oundChun|
|00005320| 6b 20 69 6e 74 6f 20 73 | 74 61 72 74 46 69 65 6c |k into s|tartFiel|
|00005330| 64 0d 70 75 74 20 69 74 | 65 6d 20 34 20 6f 66 20 |d.put it|em 4 of |
|00005340| 67 46 6f 75 6e 64 43 68 | 75 6e 6b 20 69 6e 74 6f |gFoundCh|unk into|
|00005350| 20 73 74 61 72 74 43 61 | 72 64 0d 67 6f 20 63 64 | startCa|rd.go cd|
|00005360| 20 73 74 61 72 74 43 61 | 72 64 0d 0d 2d 2d 20 20 | startCa|rd..-- |
|00005370| 20 43 68 65 63 6b 20 66 | 69 72 73 74 20 69 6e 20 | Check f|irst in |
|00005380| 66 69 65 6c 64 20 77 68 | 65 72 65 20 69 74 20 77 |field wh|ere it w|
|00005390| 61 73 20 66 6f 75 6e 64 | 2e 0d 70 75 74 20 66 69 |as found|..put fi|
|000053a0| 65 6c 64 20 73 74 61 72 | 74 46 69 65 6c 64 20 69 |eld star|tField i|
|000053b0| 6e 74 6f 20 74 65 6d 70 | 46 69 65 6c 64 0d 64 65 |nto temp|Field.de|
|000053c0| 6c 65 74 65 20 63 68 61 | 72 20 31 20 74 6f 20 73 |lete cha|r 1 to s|
|000053d0| 74 61 72 74 43 68 61 72 | 20 6f 66 20 74 65 6d 70 |tartChar| of temp|
|000053e0| 46 69 65 6c 64 0d 69 66 | 20 74 65 6d 70 46 69 65 |Field.if| tempFie|
|000053f0| 6c 64 20 63 6f 6e 74 61 | 69 6e 73 20 67 4c 61 73 |ld conta|ins gLas|
|00005400| 74 53 65 61 72 63 68 57 | 6f 72 64 20 74 68 65 6e |tSearchW|ord then|
|00005410| 0d 70 75 74 20 6f 66 66 | 73 65 74 28 67 4c 61 73 |.put off|set(gLas|
|00005420| 74 53 65 61 72 63 68 57 | 6f 72 64 2c 74 65 6d 70 |tSearchW|ord,temp|
|00005430| 46 69 65 6c 64 29 20 69 | 6e 74 6f 20 6d 61 74 63 |Field) i|nto matc|
|00005440| 68 43 68 61 72 0d 67 65 | 74 20 74 68 65 20 6e 75 |hChar.ge|t the nu|
|00005450| 6d 62 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 69 6e |mber of |lines in|
|00005460| 20 63 68 61 72 20 31 20 | 74 6f 20 6d 61 74 63 68 | char 1 |to match|
|00005470| 43 68 61 72 20 6f 66 20 | 74 65 6d 70 46 69 65 6c |Char of |tempFiel|
|00005480| 64 0d 61 64 64 20 69 74 | 20 74 6f 20 73 74 61 72 |d.add it| to star|
|00005490| 74 4c 69 6e 65 0d 61 64 | 64 20 6d 61 74 63 68 43 |tLine.ad|d matchC|
|000054a0| 68 61 72 20 74 6f 20 73 | 74 61 72 74 43 68 61 72 |har to s|tartChar|
|000054b0| 0d 70 75 74 20 74 72 75 | 65 20 69 6e 74 6f 20 66 |.put tru|e into f|
|000054c0| 6f 75 6e 64 0d 65 6e 64 | 20 69 66 0d 0d 69 66 20 |ound.end| if..if |
|000054d0| 6e 6f 74 20 66 6f 75 6e | 64 20 74 68 65 6e 0d 2d |not foun|d then.-|
|000054e0| 2d 20 53 69 6e 63 65 20 | 69 74 27 73 20 6e 6f 74 |- Since |it's not|
|000054f0| 20 74 68 65 72 65 2c 20 | 63 68 65 63 6b 20 69 74 | there, |check it|
|00005500| 20 74 68 65 20 72 65 73 | 74 20 6f 66 20 74 68 65 | the res|t of the|
|00005510| 20 66 69 65 6c 64 73 20 | 6f 66 20 74 68 61 74 20 | fields |of that |
|00005520| 63 61 72 64 0d 72 65 70 | 65 61 74 20 77 69 74 68 |card.rep|eat with|
|00005530| 20 69 20 3d 20 28 73 74 | 61 72 74 46 69 65 6c 64 | i = (st|artField|
|00005540| 20 2b 20 31 29 20 74 6f | 20 74 68 65 20 6e 75 6d | + 1) to| the num|
|00005550| 62 65 72 20 6f 66 20 62 | 67 20 66 6c 64 73 0d 73 |ber of b|g flds.s|
|00005560| 65 74 20 74 68 65 20 63 | 75 72 73 6f 72 20 74 6f |et the c|ursor to|
|00005570| 20 62 75 73 79 0d 69 66 | 20 74 68 65 20 64 6f 6e | busy.if| the don|
|00005580| 74 53 65 61 72 63 68 20 | 6f 66 20 62 67 20 66 6c |tSearch |of bg fl|
|00005590| 64 20 69 20 74 68 65 6e | 20 6e 65 78 74 20 72 65 |d i then| next re|
|000055a0| 70 65 61 74 0d 69 66 20 | 66 69 65 6c 64 20 69 20 |peat.if |field i |
|000055b0| 63 6f 6e 74 61 69 6e 73 | 20 67 4c 61 73 74 53 65 |contains| gLastSe|
|000055c0| 61 72 63 68 57 6f 72 64 | 20 74 68 65 6e 0d 70 75 |archWord| then.pu|
|000055d0| 74 20 6f 66 66 73 65 74 | 28 67 4c 61 73 74 53 65 |t offset|(gLastSe|
|000055e0| 61 72 63 68 57 6f 72 64 | 2c 66 69 65 6c 64 20 69 |archWord|,field i|
|000055f0| 29 20 69 6e 74 6f 20 6c | 61 73 74 43 68 61 72 0d |) into l|astChar.|
|00005600| 67 65 74 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |get the |number o|
|00005610| 66 20 6c 69 6e 65 73 20 | 69 6e 20 63 68 61 72 20 |f lines |in char |
|00005620| 31 20 74 6f 20 6c 61 73 | 74 43 68 61 72 20 6f 66 |1 to las|tChar of|
|00005630| 20 66 69 65 6c 64 20 69 | 0d 70 75 74 20 69 74 20 | field i|.put it |
|00005640| 69 6e 74 6f 20 73 74 61 | 72 74 4c 69 6e 65 0d 70 |into sta|rtLine.p|
|00005650| 75 74 20 69 20 69 6e 74 | 6f 20 73 74 61 72 74 46 |ut i int|o startF|
|00005660| 69 65 6c 64 0d 70 75 74 | 20 74 72 75 65 20 69 6e |ield.put| true in|
|00005670| 74 6f 20 66 6f 75 6e 64 | 0d 65 78 69 74 20 72 65 |to found|.exit re|
|00005680| 70 65 61 74 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |peat.end| if.end |
|00005690| 72 65 70 65 61 74 0d 65 | 6e 64 20 69 66 0d 0d 69 |repeat.e|nd if..i|
|000056a0| 66 20 6e 6f 74 20 66 6f | 75 6e 64 20 74 68 65 6e |f not fo|und then|
|000056b0| 20 61 64 64 20 31 20 74 | 6f 20 73 74 61 72 74 43 | add 1 t|o startC|
|000056c0| 61 72 64 0d 65 6e 64 20 | 69 66 0d 0d 69 66 20 6e |ard.end |if..if n|
|000056d0| 6f 74 20 66 6f 75 6e 64 | 20 74 68 65 6e 0d 2d 2d |ot found| then.--|
|000056e0| 20 69 66 20 69 74 20 73 | 74 69 6c 6c 20 68 61 73 | if it s|till has|
|000056f0| 20 6e 6f 74 20 62 65 65 | 6e 20 66 6f 75 6e 64 2c | not bee|n found,|
|00005700| 20 73 74 61 72 74 20 6c | 6f 6f 6b 69 6e 67 20 61 | start l|ooking a|
|00005710| 74 20 63 61 72 64 20 73 | 74 61 72 74 43 61 72 64 |t card s|tartCard|
|00005720| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =|
|00005730| 20 73 74 61 72 74 43 61 | 72 64 20 74 6f 20 74 68 | startCa|rd to th|
|00005740| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 63 61 72 64 |e number| of card|
|00005750| 73 0d 73 65 74 20 74 68 | 65 20 63 75 72 73 6f 72 |s.set th|e cursor|
|00005760| 20 74 6f 20 62 75 73 79 | 0d 67 6f 20 63 64 20 69 | to busy|.go cd i|
|00005770| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 6a 20 3d |.repeat |with j =|
|00005780| 20 31 20 74 6f 20 74 68 | 65 20 6e 75 6d 62 65 72 | 1 to th|e number|
|00005790| 20 6f 66 20 62 67 20 66 | 6c 64 73 0d 69 66 20 74 | of bg f|lds.if t|
|000057a0| 68 65 20 64 6f 6e 74 53 | 65 61 72 63 68 20 6f 66 |he dontS|earch of|
|000057b0| 20 62 67 20 66 6c 64 20 | 6a 20 74 68 65 6e 20 6e | bg fld |j then n|
|000057c0| 65 78 74 20 72 65 70 65 | 61 74 0d 69 66 20 62 67 |ext repe|at.if bg|
|000057d0| 20 66 6c 64 20 6a 20 63 | 6f 6e 74 61 69 6e 73 20 | fld j c|ontains |
|000057e0| 67 4c 61 73 74 53 65 61 | 72 63 68 57 6f 72 64 20 |gLastSea|rchWord |
|000057f0| 74 68 65 6e 0d 70 75 74 | 20 74 72 75 65 20 69 6e |then.put| true in|
|00005800| 74 6f 20 66 6f 75 6e 64 | 0d 70 75 74 20 69 20 69 |to found|.put i i|
|00005810| 6e 74 6f 20 73 74 61 72 | 74 43 61 72 64 0d 70 75 |nto star|tCard.pu|
|00005820| 74 20 6a 20 69 6e 74 6f | 20 73 74 61 72 74 46 69 |t j into| startFi|
|00005830| 65 6c 64 0d 65 78 69 74 | 20 72 65 70 65 61 74 0d |eld.exit| repeat.|
|00005840| 65 6e 64 20 69 66 0d 65 | 6e 64 20 72 65 70 65 61 |end if.e|nd repea|
|00005850| 74 0d 69 66 20 66 6f 75 | 6e 64 20 74 68 65 6e 20 |t.if fou|nd then |
|00005860| 65 78 69 74 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |exit rep|eat.end |
|00005870| 72 65 70 65 61 74 0d 0d | 69 66 20 66 6f 75 6e 64 |repeat..|if found|
|00005880| 20 74 68 65 6e 0d 67 6f | 20 63 64 20 73 74 61 72 | then.go| cd star|
|00005890| 74 43 61 72 64 0d 70 75 | 74 20 6f 66 66 73 65 74 |tCard.pu|t offset|
|000058a0| 28 67 4c 61 73 74 53 65 | 61 72 63 68 57 6f 72 64 |(gLastSe|archWord|
|000058b0| 2c 62 67 20 66 6c 64 20 | 73 74 61 72 74 46 69 65 |,bg fld |startFie|
|000058c0| 6c 64 29 20 69 6e 74 6f | 20 73 74 61 72 74 43 68 |ld) into| startCh|
|000058d0| 61 72 0d 70 75 74 20 74 | 68 65 20 6e 75 6d 62 65 |ar.put t|he numbe|
|000058e0| 72 20 6f 66 20 6c 69 6e | 65 73 20 69 6e 20 63 68 |r of lin|es in ch|
|000058f0| 61 72 20 31 20 74 6f 20 | 73 74 61 72 74 43 68 61 |ar 1 to |startCha|
|00005900| 72 20 6f 66 20 62 67 20 | 66 6c 64 20 73 74 61 72 |r of bg |fld star|
|00005910| 74 46 69 65 6c 64 20 c2 | 0d 69 6e 74 6f 20 73 74 |tField .|.into st|
|00005920| 61 72 74 4c 69 6e 65 0d | 70 75 74 20 69 20 69 6e |artLine.|put i in|
|00005930| 74 6f 20 73 74 61 72 74 | 43 61 72 64 0d 65 6e 64 |to start|Card.end|
|00005940| 20 69 66 0d 65 6e 64 20 | 69 66 0d 0d 69 66 20 66 | if.end |if..if f|
|00005950| 6f 75 6e 64 20 74 68 65 | 6e 20 2d 2d 20 73 74 6f |ound the|n -- sto|
|00005960| 72 65 20 77 68 65 72 65 | 20 69 74 20 77 61 73 20 |re where| it was |
|00005970| 66 6f 75 6e 64 20 69 6e | 20 67 46 6f 75 6e 64 43 |found in| gFoundC|
|00005980| 68 75 6e 6b 0d 70 75 74 | 20 73 74 61 72 74 43 68 |hunk.put| startCh|
|00005990| 61 72 26 22 2c 22 26 73 | 74 61 72 74 4c 69 6e 65 |ar&","&s|tartLine|
|000059a0| 26 22 2c 22 26 73 74 61 | 72 74 46 69 65 6c 64 26 |&","&sta|rtField&|
|000059b0| 22 2c 22 26 73 74 61 72 | 74 43 61 72 64 20 69 6e |","&star|tCard in|
|000059c0| 74 6f 20 67 46 6f 75 6e | 64 43 68 75 6e 6b 0d 65 |to gFoun|dChunk.e|
|000059d0| 6c 73 65 0d 69 66 20 67 | 46 6f 72 63 65 42 65 67 |lse.if g|ForceBeg|
|000059e0| 69 6e 6e 69 6e 67 20 69 | 73 20 74 72 75 65 20 74 |inning i|s true t|
|000059f0| 68 65 6e 0d 70 75 74 20 | 66 61 6c 73 65 20 69 6e |hen.put |false in|
|00005a00| 74 6f 20 66 6f 75 6e 64 | 0d 61 6e 73 77 65 72 20 |to found|.answer |
|00005a10| 22 d4 22 26 67 4c 61 73 | 74 53 65 61 72 63 68 57 |"."&gLas|tSearchW|
|00005a20| 6f 72 64 26 22 d5 20 6e | 6f 74 20 66 6f 75 6e 64 |ord&". n|ot found|
|00005a30| 2e 22 0d 65 6c 73 65 0d | 61 6e 73 77 65 72 20 22 |.".else.|answer "|
|00005a40| 45 6e 64 20 6f 66 20 62 | 6f 6f 6b 20 72 65 61 63 |End of b|ook reac|
|00005a50| 68 65 64 2e 20 20 53 65 | 61 72 63 68 20 66 6f 72 |hed. Se|arch for|
|00005a60| 20 d4 22 26 67 4c 61 73 | 74 53 65 61 72 63 68 57 | ."&gLas|tSearchW|
|00005a70| 6f 72 64 26 22 d5 20 66 | 72 6f 6d 20 74 68 65 20 |ord&". f|rom the |
|00005a80| 62 65 67 69 6e 6e 69 6e | 67 3f 22 c2 0d 77 69 74 |beginnin|g?"..wit|
|00005a90| 68 20 22 4e 6f 22 20 6f | 72 20 22 59 65 73 22 0d |h "No" o|r "Yes".|
|00005aa0| 69 66 20 69 74 20 69 73 | 20 22 59 65 73 22 20 74 |if it is| "Yes" t|
|00005ab0| 68 65 6e 0d 70 75 74 20 | 74 72 75 65 20 69 6e 74 |hen.put |true int|
|00005ac0| 6f 20 67 46 6f 72 63 65 | 42 65 67 69 6e 6e 69 6e |o gForce|Beginnin|
|00005ad0| 67 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |g.put em|pty into|
|00005ae0| 20 67 46 6f 75 6e 64 43 | 68 75 6e 6b 0d 70 75 74 | gFoundC|hunk.put|
|00005af0| 20 46 69 6e 64 45 6e 67 | 69 6e 65 28 29 20 69 6e | FindEng|ine() in|
|00005b00| 74 6f 20 66 6f 75 6e 64 | 0d 65 6e 64 20 69 66 0d |to found|.end if.|
|00005b10| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 0d 70 |end if.e|nd if..p|
|00005b20| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 67 46 |ut empty| into gF|
|00005b30| 6f 72 63 65 42 65 67 69 | 6e 6e 69 6e 67 0d 72 65 |orceBegi|nning.re|
|00005b40| 74 75 72 6e 20 66 6f 75 | 6e 64 0d 65 6e 64 20 46 |turn fou|nd.end F|
|00005b50| 69 6e 64 45 6e 67 69 6e | 65 0d 0d 6f 6e 20 53 68 |indEngin|e..on Sh|
|00005b60| 6f 77 4c 61 73 74 43 68 | 61 70 74 65 72 20 74 68 |owLastCh|apter th|
|00005b70| 65 50 61 67 65 0d 67 6c | 6f 62 61 6c 20 67 4c 61 |ePage.gl|obal gLa|
|00005b80| 73 74 43 68 61 70 74 65 | 72 4e 61 6d 65 2c 67 4c |stChapte|rName,gL|
|00005b90| 61 73 74 50 61 67 65 4e | 75 6d 62 65 72 0d 69 66 |astPageN|umber.if|
|00005ba0| 20 67 4c 61 73 74 43 68 | 61 70 74 65 72 4e 61 6d | gLastCh|apterNam|
|00005bb0| 65 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |e is emp|ty then |
|00005bc0| 65 78 69 74 20 53 68 6f | 77 4c 61 73 74 43 68 61 |exit Sho|wLastCha|
|00005bd0| 70 74 65 72 0d 70 75 74 | 20 67 4c 61 73 74 50 61 |pter.put| gLastPa|
|00005be0| 67 65 4e 75 6d 62 65 72 | 20 69 6e 74 6f 20 62 67 |geNumber| into bg|
|00005bf0| 20 66 6c 64 20 22 70 61 | 67 65 22 20 6f 66 20 63 | fld "pa|ge" of c|
|00005c00| 64 20 22 63 6f 6e 74 65 | 6e 74 73 22 0d 65 6e 64 |d "conte|nts".end|
|00005c10| 20 53 68 6f 77 4c 61 73 | 74 43 68 61 70 74 65 72 | ShowLas|tChapter|
|00005c20| 0d 0d 6f 6e 20 54 75 72 | 6e 4f 66 66 42 75 74 74 |..on Tur|nOffButt|
|00005c30| 6f 6e 48 65 6c 70 0d 48 | 69 64 65 42 75 74 74 6f |onHelp.H|ideButto|
|00005c40| 6e 48 65 6c 70 0d 67 65 | 74 20 44 69 73 70 6c 61 |nHelp.ge|t Displa|
|00005c50| 79 69 6e 67 48 65 6c 70 | 28 66 61 6c 73 65 29 0d |yingHelp|(false).|
|00005c60| 65 6e 64 20 54 75 72 6e | 4f 66 66 42 75 74 74 6f |end Turn|OffButto|
|00005c70| 6e 48 65 6c 70 0d 0d 6f | 6e 20 48 69 64 65 42 75 |nHelp..o|n HideBu|
|00005c80| 74 74 6f 6e 48 65 6c 70 | 0d 70 75 74 20 74 68 65 |ttonHelp|.put the|
|00005c90| 20 73 65 6c 65 63 74 65 | 64 43 68 75 6e 6b 20 69 | selecte|dChunk i|
|00005ca0| 6e 74 6f 20 74 68 65 43 | 68 75 6e 6b 0d 69 66 20 |nto theC|hunk.if |
|00005cb0| 74 68 65 72 65 20 69 73 | 20 61 20 62 67 20 66 6c |there is| a bg fl|
|00005cc0| 64 20 22 62 75 74 74 6f | 6e 20 68 65 6c 70 22 20 |d "butto|n help" |
|00005cd0| 74 68 65 6e 20 68 69 64 | 65 20 62 67 20 66 6c 64 |then hid|e bg fld|
|00005ce0| 20 22 62 75 74 74 6f 6e | 20 68 65 6c 70 22 0d 69 | "button| help".i|
|00005cf0| 66 20 74 68 65 43 68 75 | 6e 6b 20 69 73 20 6e 6f |f theChu|nk is no|
|00005d00| 74 20 65 6d 70 74 79 20 | 74 68 65 6e 20 73 65 6c |t empty |then sel|
|00005d10| 65 63 74 20 74 68 65 43 | 68 75 6e 6b 0d 65 6e 64 |ect theC|hunk.end|
|00005d20| 20 48 69 64 65 42 75 74 | 74 6f 6e 48 65 6c 70 0d | HideBut|tonHelp.|
|00005d30| 0d 6f 6e 20 42 75 74 74 | 6f 6e 48 65 6c 70 20 74 |.on Butt|onHelp t|
|00005d40| 68 65 42 75 74 74 6f 6e | 2c 20 74 68 65 54 65 78 |heButton|, theTex|
|00005d50| 74 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 6e 6f |t.if the|re is no|
|00005d60| 74 20 61 20 62 67 20 66 | 6c 64 20 22 62 75 74 74 |t a bg f|ld "butt|
|00005d70| 6f 6e 20 68 65 6c 70 22 | 20 6f 72 20 c2 0d 74 68 |on help"| or ..th|
|00005d80| 65 72 65 20 69 73 20 6e | 6f 74 20 61 20 62 67 20 |ere is n|ot a bg |
|00005d90| 62 74 6e 20 22 68 65 6c | 70 20 6f 66 66 22 20 74 |btn "hel|p off" t|
|00005da0| 68 65 6e 20 65 78 69 74 | 20 42 75 74 74 6f 6e 48 |hen exit| ButtonH|
|00005db0| 65 6c 70 0d 0d 69 66 20 | 74 68 65 54 65 78 74 20 |elp..if |theText |
|00005dc0| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00005dd0| 6e 0d 53 68 6f 77 42 75 | 74 74 6f 6e 48 65 6c 70 |n.ShowBu|ttonHelp|
|00005de0| 20 74 68 65 54 65 78 74 | 0d 65 78 69 74 20 42 75 | theText|.exit Bu|
|00005df0| 74 74 6f 6e 48 65 6c 70 | 0d 65 6e 64 20 69 66 0d |ttonHelp|.end if.|
|00005e00| 0d 69 66 20 74 68 65 20 | 6f 70 74 69 6f 6e 4b 65 |.if the |optionKe|
|00005e10| 79 20 69 73 20 64 6f 77 | 6e 20 61 6e 64 20 74 68 |y is dow|n and th|
|00005e20| 65 42 75 74 74 6f 6e 20 | 69 73 20 22 73 65 61 72 |eButton |is "sear|
|00005e30| 63 68 22 20 74 68 65 6e | 0d 53 68 6f 77 42 75 74 |ch" then|.ShowBut|
|00005e40| 74 6f 6e 48 65 6c 70 20 | 22 2e 2e 2e 70 65 72 66 |tonHelp |"...perf|
|00005e50| 6f 72 6d 73 20 74 68 65 | 20 73 61 6d 65 20 73 65 |orms the| same se|
|00005e60| 61 72 63 68 20 61 67 61 | 69 6e 2e 22 0d 65 6c 73 |arch aga|in.".els|
|00005e70| 65 20 69 66 20 74 68 65 | 20 6f 70 74 69 6f 6e 4b |e if the| optionK|
|00005e80| 65 79 20 69 73 20 64 6f | 77 6e 20 61 6e 64 20 74 |ey is do|wn and t|
|00005e90| 68 65 42 75 74 74 6f 6e | 20 69 73 20 22 47 6f 20 |heButton| is "Go |
|00005ea0| 42 6f 6f 6b 4d 61 72 6b | 22 20 74 68 65 6e 0d 53 |BookMark|" then.S|
|00005eb0| 68 6f 77 42 75 74 74 6f | 6e 48 65 6c 70 20 22 2e |howButto|nHelp ".|
|00005ec0| 2e 2e 20 73 68 6f 77 73 | 20 74 68 65 20 70 72 65 |.. shows| the pre|
|00005ed0| 76 69 6f 75 73 20 62 6f | 6f 6b 6d 61 72 6b 2e 22 |vious bo|okmark."|
|00005ee0| 0d 65 6c 73 65 0d 69 66 | 20 74 68 65 42 75 74 74 |.else.if| theButt|
|00005ef0| 6f 6e 20 69 73 20 22 68 | 65 6c 70 20 6f 66 66 22 |on is "h|elp off"|
|00005f00| 20 74 68 65 6e 0d 69 66 | 20 44 69 73 70 6c 61 79 | then.if| Display|
|00005f10| 69 6e 67 48 65 6c 70 28 | 29 20 74 68 65 6e 0d 53 |ingHelp(|) then.S|
|00005f20| 68 6f 77 42 75 74 74 6f | 6e 48 65 6c 70 20 22 43 |howButto|nHelp "C|
|00005f30| 6c 69 63 6b 20 68 65 72 | 65 20 74 6f 20 74 75 72 |lick her|e to tur|
|00005f40| 6e 20 74 68 69 73 20 68 | 65 6c 70 20 6f 66 66 21 |n this h|elp off!|
|00005f50| 22 0d 65 6c 73 65 20 53 | 68 6f 77 42 75 74 74 6f |".else S|howButto|
|00005f60| 6e 48 65 6c 70 20 22 43 | 6c 69 63 6b 20 68 65 72 |nHelp "C|lick her|
|00005f70| 65 20 74 6f 20 74 75 72 | 6e 20 62 75 74 74 6f 6e |e to tur|n button|
|00005f80| 20 68 65 6c 70 20 6f 6e | 2e 22 2c 74 72 75 65 0d | help on|.",true.|
|00005f90| 65 6c 73 65 20 69 66 20 | 74 68 65 42 75 74 74 6f |else if |theButto|
|00005fa0| 6e 20 69 73 20 22 63 6f | 6e 74 65 6e 74 73 22 20 |n is "co|ntents" |
|00005fb0| 74 68 65 6e 20 53 68 6f | 77 42 75 74 74 6f 6e 48 |then Sho|wButtonH|
|00005fc0| 65 6c 70 20 22 53 68 6f | 77 73 20 74 68 65 22 26 |elp "Sho|ws the"&|
|00005fd0| 72 65 74 75 72 6e 26 22 | 74 61 62 6c 65 20 6f 66 |return&"|table of|
|00005fe0| 20 63 6f 6e 74 65 6e 74 | 73 2e 22 0d 65 6c 73 65 | content|s.".else|
|00005ff0| 20 69 66 20 74 68 65 42 | 75 74 74 6f 6e 20 69 73 | if theB|utton is|
|00006000| 20 22 70 72 65 76 69 6f | 75 73 20 61 72 74 69 63 | "previo|us artic|
|00006010| 6c 65 22 20 74 68 65 6e | 20 53 68 6f 77 42 75 74 |le" then| ShowBut|
|00006020| 74 6f 6e 48 65 6c 70 20 | 22 53 68 6f 77 73 20 74 |tonHelp |"Shows t|
|00006030| 68 65 20 70 72 65 76 69 | 6f 75 73 20 63 68 61 70 |he previ|ous chap|
|00006040| 74 65 72 2e 22 0d 65 6c | 73 65 20 69 66 20 74 68 |ter.".el|se if th|
|00006050| 65 42 75 74 74 6f 6e 20 | 63 6f 6e 74 61 69 6e 73 |eButton |contains|
|00006060| 20 22 70 72 65 76 69 6f | 75 73 20 70 61 67 65 22 | "previo|us page"|
|00006070| 20 74 68 65 6e 20 53 68 | 6f 77 42 75 74 74 6f 6e | then Sh|owButton|
|00006080| 48 65 6c 70 20 22 53 68 | 6f 77 73 20 74 68 65 20 |Help "Sh|ows the |
|00006090| 70 72 65 76 69 6f 75 73 | 20 70 61 67 65 2e 22 0d |previous| page.".|
|000060a0| 65 6c 73 65 20 69 66 20 | 74 68 65 42 75 74 74 6f |else if |theButto|
|000060b0| 6e 20 63 6f 6e 74 61 69 | 6e 73 20 22 6e 65 78 74 |n contai|ns "next|
|000060c0| 20 70 61 67 65 22 20 74 | 68 65 6e 20 53 68 6f 77 | page" t|hen Show|
|000060d0| 42 75 74 74 6f 6e 48 65 | 6c 70 20 22 53 68 6f 77 |ButtonHe|lp "Show|
|000060e0| 73 20 74 68 65 20 6e 65 | 78 74 20 22 26 72 65 74 |s the ne|xt "&ret|
|000060f0| 75 72 6e 26 22 70 61 67 | 65 2e 22 0d 65 6c 73 65 |urn&"pag|e.".else|
|00006100| 20 69 66 20 74 68 65 42 | 75 74 74 6f 6e 20 69 73 | if theB|utton is|
|00006110| 20 22 6e 65 78 74 20 61 | 72 74 69 63 6c 65 22 20 | "next a|rticle" |
|00006120| 74 68 65 6e 20 53 68 6f | 77 42 75 74 74 6f 6e 48 |then Sho|wButtonH|
|00006130| 65 6c 70 20 22 53 68 6f | 77 73 20 74 68 65 20 6e |elp "Sho|ws the n|
|00006140| 65 78 74 20 63 68 61 70 | 74 65 72 2e 22 0d 65 6c |ext chap|ter.".el|
|00006150| 73 65 20 69 66 20 74 68 | 65 42 75 74 74 6f 6e 20 |se if th|eButton |
|00006160| 69 73 20 22 53 68 6f 77 | 4e 6f 74 65 73 22 20 74 |is "Show|Notes" t|
|00006170| 68 65 6e 20 53 68 6f 77 | 42 75 74 74 6f 6e 48 65 |hen Show|ButtonHe|
|00006180| 6c 70 20 22 53 68 6f 77 | 73 20 74 68 65 20 6e 6f |lp "Show|s the no|
|00006190| 74 65 73 20 73 65 63 74 | 69 6f 6e 20 6f 66 20 74 |tes sect|ion of t|
|000061a0| 68 65 20 62 6f 6f 6b 2e | 22 0d 65 6c 73 65 20 69 |he book.|".else i|
|000061b0| 66 20 74 68 65 42 75 74 | 74 6f 6e 20 69 73 20 22 |f theBut|ton is "|
|000061c0| 48 69 64 65 4e 6f 74 65 | 73 22 20 74 68 65 6e 20 |HideNote|s" then |
|000061d0| 53 68 6f 77 42 75 74 74 | 6f 6e 48 65 6c 70 20 22 |ShowButt|onHelp "|
|000061e0| 48 69 64 65 73 20 74 68 | 65 20 6e 6f 74 65 73 20 |Hides th|e notes |
|000061f0| 73 65 63 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 62 |section |of the b|
|00006200| 6f 6f 6b 2e 22 0d 65 6c | 73 65 20 69 66 20 74 68 |ook.".el|se if th|
|00006210| 65 42 75 74 74 6f 6e 20 | 69 73 20 22 73 65 61 72 |eButton |is "sear|
|00006220| 63 68 22 20 74 68 65 6e | 20 53 68 6f 77 42 75 74 |ch" then| ShowBut|
|00006230| 74 6f 6e 48 65 6c 70 20 | 22 4c 65 74 73 20 79 6f |tonHelp |"Lets yo|
|00006240| 75 20 73 65 61 72 63 68 | 20 66 6f 72 20 74 65 78 |u search| for tex|
|00006250| 74 2e 20 20 4f 70 74 69 | 6f 6e 20 6b 65 79 2e 2e |t. Opti|on key..|
|00006260| 2e 22 0d 65 6c 73 65 20 | 69 66 20 74 68 65 42 75 |.".else |if theBu|
|00006270| 74 74 6f 6e 20 69 73 20 | 22 47 6f 20 42 6f 6f 6b |tton is |"Go Book|
|00006280| 4d 61 72 6b 22 20 74 68 | 65 6e 20 53 68 6f 77 42 |Mark" th|en ShowB|
|00006290| 75 74 74 6f 6e 48 65 6c | 70 20 22 53 68 6f 77 73 |uttonHel|p "Shows|
|000062a0| 20 74 68 65 20 6e 65 78 | 74 20 62 6f 6f 6b 6d 61 | the nex|t bookma|
|000062b0| 72 6b 2c 20 6f 70 74 69 | 6f 6e 2e 2e 2e 22 0d 65 |rk, opti|on...".e|
|000062c0| 6c 73 65 20 69 66 20 74 | 68 65 42 75 74 74 6f 6e |lse if t|heButton|
|000062d0| 20 69 73 20 22 42 6f 6f | 6b 4d 61 72 6b 22 20 74 | is "Boo|kMark" t|
|000062e0| 68 65 6e 0d 69 66 20 74 | 68 65 20 6d 61 72 6b 65 |hen.if t|he marke|
|000062f0| 64 20 6f 66 20 74 68 69 | 73 20 63 61 72 64 20 74 |d of thi|s card t|
|00006300| 68 65 6e 0d 53 68 6f 77 | 42 75 74 74 6f 6e 48 65 |hen.Show|ButtonHe|
|00006310| 6c 70 20 22 43 6c 65 61 | 72 73 20 74 68 65 20 62 |lp "Clea|rs the b|
|00006320| 6f 6f 6b 6d 61 72 6b 20 | 73 65 74 20 6f 6e 20 74 |ookmark |set on t|
|00006330| 68 69 73 20 70 61 67 65 | 2e 22 0d 65 6c 73 65 20 |his page|.".else |
|00006340| 53 68 6f 77 42 75 74 74 | 6f 6e 48 65 6c 70 20 22 |ShowButt|onHelp "|
|00006350| 53 65 74 73 20 61 20 62 | 6f 6f 6b 6d 61 72 6b 20 |Sets a b|ookmark |
|00006360| 6f 6e 20 74 68 69 73 20 | 70 61 67 65 2e 22 0d 65 |on this |page.".e|
|00006370| 6c 73 65 20 69 66 20 74 | 68 65 42 75 74 74 6f 6e |lse if t|heButton|
|00006380| 20 69 73 20 22 4d 61 72 | 6b 20 54 65 78 74 22 20 | is "Mar|k Text" |
|00006390| 74 68 65 6e 0d 69 66 20 | 74 68 65 20 73 65 6c 65 |then.if |the sele|
|000063a0| 63 74 69 6f 6e 20 69 73 | 20 65 6d 70 74 79 20 74 |ction is| empty t|
|000063b0| 68 65 6e 0d 53 68 6f 77 | 42 75 74 74 6f 6e 48 65 |hen.Show|ButtonHe|
|000063c0| 6c 70 20 22 53 65 6c 65 | 63 74 20 74 65 78 74 20 |lp "Sele|ct text |
|000063d0| 61 6e 64 20 63 6c 69 63 | 6b 20 68 65 72 65 20 74 |and clic|k here t|
|000063e0| 6f 20 75 6e 64 65 72 6c | 69 6e 65 20 69 74 2e 22 |o underl|ine it."|
|000063f0| 0d 65 6c 73 65 20 69 66 | 20 74 68 65 20 74 65 78 |.else if| the tex|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.